Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mips: bmips: dts: add BCM6362 reset controller support

BCM6362 SoCs have a reset controller for certain components.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Álvaro Fernández Rojas and committed by
Thomas Bogendoerfer
22638360 8079cfba

+28
+6
arch/mips/boot/dts/brcm/bcm6362.dtsi
··· 70 70 mask = <0x1>; 71 71 }; 72 72 73 + periph_rst: reset-controller@10000010 { 74 + compatible = "brcm,bcm6345-reset"; 75 + reg = <0x10000010 0x4>; 76 + #reset-cells = <1>; 77 + }; 78 + 73 79 periph_intc: interrupt-controller@10000020 { 74 80 compatible = "brcm,bcm6345-l1-intc"; 75 81 reg = <0x10000020 0x10>,
+22
include/dt-bindings/reset/bcm6362-reset.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 + 3 + #ifndef __DT_BINDINGS_RESET_BCM6362_H 4 + #define __DT_BINDINGS_RESET_BCM6362_H 5 + 6 + #define BCM6362_RST_SPI 0 7 + #define BCM6362_RST_IPSEC 1 8 + #define BCM6362_RST_EPHY 2 9 + #define BCM6362_RST_SAR 3 10 + #define BCM6362_RST_ENETSW 4 11 + #define BCM6362_RST_USBD 5 12 + #define BCM6362_RST_USBH 6 13 + #define BCM6362_RST_PCM 7 14 + #define BCM6362_RST_PCIE_CORE 8 15 + #define BCM6362_RST_PCIE 9 16 + #define BCM6362_RST_PCIE_EXT 10 17 + #define BCM6362_RST_WLAN_SHIM 11 18 + #define BCM6362_RST_DDR_PHY 12 19 + #define BCM6362_RST_FAP 13 20 + #define BCM6362_RST_WLAN_UBUS 14 21 + 22 + #endif /* __DT_BINDINGS_RESET_BCM6362_H */