1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Broadcom BCM470X / BCM5301X arm platform code.
4 * DTS for SmartRG SR400ac
6 * Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
11 #include "bcm4708.dtsi"
12 #include "bcm5301x-nand-cs0-bch8.dtsi"
15 compatible = "smartrg,sr400ac", "brcm,bcm4708";
16 model = "SmartRG SR400ac";
19 bootargs = "console=ttyS0,115200 earlycon";
23 reg = <0x00000000 0x08000000
24 0x88000000 0x08000000>;
28 compatible = "gpio-leds";
31 label = "bcm53xx:white:power";
32 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
33 linux,default-trigger = "default-on";
37 label = "bcm53xx:amber:power";
38 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
42 label = "bcm53xx:white:usb2";
43 gpios = <&chipcommon 3 GPIO_ACTIVE_HIGH>;
44 trigger-sources = <&ohci_port2>, <&ehci_port2>;
45 linux,default-trigger = "usbport";
49 label = "bcm53xx:white:usb3";
50 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
51 trigger-sources = <&xhci_port1>;
52 linux,default-trigger = "usbport";
56 label = "bcm53xx:green:usb3";
57 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
58 trigger-sources = <&ohci_port1>, <&ehci_port1>;
59 linux,default-trigger = "usbport";
63 label = "bcm53xx:white:wps";
64 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
68 label = "bcm53xx:red:status";
69 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
73 label = "bcm53xx:green:status";
74 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
78 label = "bcm53xx:blue:status";
79 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
83 label = "bcm53xx:white:wan";
84 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
88 label = "bcm53xx:red:wan";
89 gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
94 compatible = "gpio-keys";
100 linux,code = <KEY_RFKILL>;
101 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
106 linux,code = <KEY_WPS_BUTTON>;
107 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_RESTART>;
113 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
126 #address-cells = <1>;