1 From 2bebdfcdcd0feb58d5df419532a2cedc78a336d7 Mon Sep 17 00:00:00 2001
2 From: Vivek Unune <npcomplete13@gmail.com>
3 Date: Mon, 18 Jun 2018 13:41:59 -0400
4 Subject: [PATCH] ARM: dts: BCM5301X: Add support for Linksys EA9500
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
12 Processor - Broadcom BCM4709C0KFEBG dual-core @ 1.4 GHz
13 Switch - BCM53012 in BCM4709C0KFEBG & external BCM53125
15 Flash - 128 MB (Toshiba TC58BVG0S3HTA00)
16 2.4GHz - BCM4366 4×4 2.4/5G single chip 802.11ac SoC
17 Power Amp - Skyworks SE2623L 2.4 GHz power amp (x4)
18 5GHz x 2 - BCM4366 4×4 2.4/5G single chip 802.11ac SoC
19 Power Amp - PLX Technology PEX8603 3-lane, 3-port PCIe switch
20 Ports - 8 Ports, 1 WAN Ports
22 Serial Port - @J6 [GND,TX,RX] (VCC NC) 115200 8n1
24 Tested with OpenWrt built with DSA driver and Kernel v4.14
26 Signed-off-by: Vivek Unune <npcomplete13@gmail.com>
27 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
29 arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 229 ++++++++++++++++++++++++
30 1 file changed, 229 insertions(+)
32 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
33 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
41 + linux,code = <KEY_RFKILL>;
42 + gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
47 + linux,code = <KEY_RESTART>;
48 + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
53 + compatible = "gpio-leds";
56 + label = "bcm53xx:white:wps";
57 + gpios = <&chipcommon 22 GPIO_ACTIVE_LOW>;
61 + label = "bcm53xx:green:usb2";
62 + gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
63 + trigger-sources = <&ohci_port2>, <&ehci_port2>;
64 + linux,default-trigger = "usbport";
68 + label = "bcm53xx:green:usb3";
69 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
70 + trigger-sources = <&ohci_port1>, <&ehci_port1>,
72 + linux,default-trigger = "usbport";
76 + label = "bcm53xx:white:power";
77 + gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
81 + label = "bcm53xx:amber:wifi-disabled";
82 + gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
86 + label = "bcm53xx:white:wifi-enabled";
87 + gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
91 + label = "bcm53xx:white:bluebar1";
92 + gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
96 + label = "bcm53xx:white:bluebar2";
97 + gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
101 + label = "bcm53xx:white:bluebar3";
102 + gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
106 + label = "bcm53xx:white:bluebar4";
107 + gpios = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
111 + label = "bcm53xx:white:bluebar5";
112 + gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>;
116 + label = "bcm53xx:white:bluebar6";
117 + gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>;
121 + label = "bcm53xx:white:bluebar7";
122 + gpios = <&chipcommon 21 GPIO_ACTIVE_HIGH>;
126 + label = "bcm53xx:white:bluebar8";
127 + gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
132 + /* BIT(9) = 1 => external mdio */
133 + mdio_ext: mdio@200 {
135 + #address-cells = <1>;
141 + compatible = "mdio-mux-mmioreg";
142 + mdio-parent-bus = <&mdio_ext>;
143 + #address-cells = <1>;
145 + reg = <0x1800c1c0 0x4>;
147 + /* BIT(6) = mdc, BIT(7) = mdio */
151 + /* Enable MII function */
153 + #address-cells = <1>;
157 + compatible = "brcm,bcm53125";
158 + #address-cells = <1>;
160 + reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
161 + reset-names = "robo_reset";
163 + dsa,member = <1 0>;
166 + #address-cells = <1>;
196 + ethernet = <&sw0_p0>;
211 + vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
215 + vcc-gpio = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
219 + compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab";
221 + dsa,member = <0 0>;
224 + #address-cells = <1>;
249 + ethernet = <&gmac2>;