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

mips: bmips: dts: add BCM63268 reset controller support

BCM63268 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
b7aa2288 7acf84e8

+32
+6
arch/mips/boot/dts/brcm/bcm63268.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 0x20>,
+26
include/dt-bindings/reset/bcm63268-reset.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0+ */ 2 + 3 + #ifndef __DT_BINDINGS_RESET_BCM63268_H 4 + #define __DT_BINDINGS_RESET_BCM63268_H 5 + 6 + #define BCM63268_RST_SPI 0 7 + #define BCM63268_RST_IPSEC 1 8 + #define BCM63268_RST_EPHY 2 9 + #define BCM63268_RST_SAR 3 10 + #define BCM63268_RST_ENETSW 4 11 + #define BCM63268_RST_USBS 5 12 + #define BCM63268_RST_USBH 6 13 + #define BCM63268_RST_PCM 7 14 + #define BCM63268_RST_PCIE_CORE 8 15 + #define BCM63268_RST_PCIE 9 16 + #define BCM63268_RST_PCIE_EXT 10 17 + #define BCM63268_RST_WLAN_SHIM 11 18 + #define BCM63268_RST_DDR_PHY 12 19 + #define BCM63268_RST_FAP0 13 20 + #define BCM63268_RST_WLAN_UBUS 14 21 + #define BCM63268_RST_DECT 15 22 + #define BCM63268_RST_FAP1 16 23 + #define BCM63268_RST_PCIE_HARD 17 24 + #define BCM63268_RST_GPHY 18 25 + 26 + #endif /* __DT_BINDINGS_RESET_BCM63268_H */