mips: bmips: dts: add BCM6358 reset controller support
BCM6358 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>
This commit is contained in:
parent
83f865d7e3
commit
8079cfba4c
@ -82,6 +82,12 @@
|
||||
interrupts = <2>, <3>;
|
||||
};
|
||||
|
||||
periph_rst: reset-controller@fffe0034 {
|
||||
compatible = "brcm,bcm6345-reset";
|
||||
reg = <0xfffe0034 0x4>;
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
leds0: led-controller@fffe00d0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
15
include/dt-bindings/reset/bcm6358-reset.h
Normal file
15
include/dt-bindings/reset/bcm6358-reset.h
Normal file
@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
|
||||
#ifndef __DT_BINDINGS_RESET_BCM6358_H
|
||||
#define __DT_BINDINGS_RESET_BCM6358_H
|
||||
|
||||
#define BCM6358_RST_SPI 0
|
||||
#define BCM6358_RST_ENET 2
|
||||
#define BCM6358_RST_MPI 3
|
||||
#define BCM6358_RST_EPHY 6
|
||||
#define BCM6358_RST_SAR 7
|
||||
#define BCM6358_RST_USBH 12
|
||||
#define BCM6358_RST_PCM 13
|
||||
#define BCM6358_RST_ADSL 14
|
||||
|
||||
#endif /* __DT_BINDINGS_RESET_BCM6358_H */
|
Loading…
Reference in New Issue
Block a user