diff options
| author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-01-17 05:02:35 -0500 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-23 20:34:36 -0500 |
| commit | 70ce14bfc9fdb9b6af84ac492e9d3311551618a5 (patch) | |
| tree | b480df2f33b40f7b1f3f50afb231ff31e89b7b46 | |
| parent | db66dbbbfd8ded204a97d090357aff582968fcf5 (diff) | |
MIPS: bmips: Improve BCM6368 device tree
Add brcm,bcm6358-leds node to bcm6368.dtsi
Add reboot support (syscon-reboot as defined in BCM6328)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: f.fainelli@gmail.com
Cc: jogo@openwrt.org
Cc: cernekee@gmail.com
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/12117/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -rw-r--r-- | arch/mips/boot/dts/brcm/bcm6368.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/brcm/bcm6368.dtsi b/arch/mips/boot/dts/brcm/bcm6368.dtsi index 45152bc22117..9c8d3fe28b31 100644 --- a/arch/mips/boot/dts/brcm/bcm6368.dtsi +++ b/arch/mips/boot/dts/brcm/bcm6368.dtsi | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | aliases { | 34 | aliases { |
| 35 | leds0 = &leds0; | ||
| 35 | uart0 = &uart0; | 36 | uart0 = &uart0; |
| 36 | }; | 37 | }; |
| 37 | 38 | ||
| @@ -50,6 +51,19 @@ | |||
| 50 | compatible = "simple-bus"; | 51 | compatible = "simple-bus"; |
| 51 | ranges; | 52 | ranges; |
| 52 | 53 | ||
| 54 | periph_cntl: syscon@10000000 { | ||
| 55 | compatible = "syscon"; | ||
| 56 | reg = <0x10000000 0x14>; | ||
| 57 | little-endian; | ||
| 58 | }; | ||
| 59 | |||
| 60 | reboot: syscon-reboot@10000008 { | ||
| 61 | compatible = "syscon-reboot"; | ||
| 62 | regmap = <&periph_cntl>; | ||
| 63 | offset = <0x8>; | ||
| 64 | mask = <0x1>; | ||
| 65 | }; | ||
| 66 | |||
| 53 | periph_intc: periph_intc@10000020 { | 67 | periph_intc: periph_intc@10000020 { |
| 54 | compatible = "brcm,bcm3380-l2-intc"; | 68 | compatible = "brcm,bcm3380-l2-intc"; |
| 55 | reg = <0x10000024 0x4 0x1000002c 0x4>, | 69 | reg = <0x10000024 0x4 0x1000002c 0x4>, |
| @@ -62,6 +76,14 @@ | |||
| 62 | interrupts = <2>; | 76 | interrupts = <2>; |
| 63 | }; | 77 | }; |
| 64 | 78 | ||
| 79 | leds0: led-controller@100000d0 { | ||
| 80 | #address-cells = <1>; | ||
| 81 | #size-cells = <0>; | ||
| 82 | compatible = "brcm,bcm6358-leds"; | ||
| 83 | reg = <0x100000d0 0x8>; | ||
| 84 | status = "disabled"; | ||
| 85 | }; | ||
| 86 | |||
| 65 | uart0: serial@10000100 { | 87 | uart0: serial@10000100 { |
| 66 | compatible = "brcm,bcm6345-uart"; | 88 | compatible = "brcm,bcm6345-uart"; |
| 67 | reg = <0x10000100 0x18>; | 89 | reg = <0x10000100 0x18>; |
