1 From ded8f22945899f4e87dd6d952bbc4abce6e64b7e Mon Sep 17 00:00:00 2001
2 From: William Zhang <william.zhang@broadcom.com>
3 Date: Wed, 3 Aug 2022 10:54:50 -0700
4 Subject: [PATCH] arm64: dts: Move BCM4908 dts to bcmbca folder
6 As part of ARCH_BCM4908 to ARCH_BCMBCA migration, move the BCM4908 dts
7 files to bcmbca folder and use CONFIG_ARCH_BCMBCA to build all the
8 BCM4908 board dts. Delete bcm4908 folder and its makefile as well.
10 Signed-off-by: William Zhang <william.zhang@broadcom.com>
11 Link: https://lore.kernel.org/r/20220803175455.47638-5-william.zhang@broadcom.com
12 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 arch/arm64/boot/dts/broadcom/Makefile | 1 -
15 arch/arm64/boot/dts/broadcom/bcm4908/Makefile | 5 -----
16 arch/arm64/boot/dts/broadcom/bcmbca/Makefile | 4 ++++
17 .../broadcom/{bcm4908 => bcmbca}/bcm4906-netgear-r8000p.dts | 0
18 .../{bcm4908 => bcmbca}/bcm4906-tplink-archer-c2300-v1.dts | 0
19 .../arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi | 0
20 .../broadcom/{bcm4908 => bcmbca}/bcm4908-asus-gt-ac5300.dts | 0
21 .../broadcom/{bcm4908 => bcmbca}/bcm4908-netgear-raxe500.dts | 0
22 .../arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi | 0
23 9 files changed, 4 insertions(+), 6 deletions(-)
24 delete mode 100644 arch/arm64/boot/dts/broadcom/bcm4908/Makefile
25 rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-netgear-r8000p.dts (100%)
26 rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906-tplink-archer-c2300-v1.dts (100%)
27 rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4906.dtsi (100%)
28 rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-asus-gt-ac5300.dts (100%)
29 rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908-netgear-raxe500.dts (100%)
30 rename arch/arm64/boot/dts/broadcom/{bcm4908 => bcmbca}/bcm4908.dtsi (100%)
32 --- a/arch/arm64/boot/dts/broadcom/Makefile
33 +++ b/arch/arm64/boot/dts/broadcom/Makefile
34 @@ -5,7 +5,6 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rp
35 bcm2837-rpi-3-b-plus.dtb \
36 bcm2837-rpi-cm3-io3.dtb
40 subdir-y += northstar2
42 --- a/arch/arm64/boot/dts/broadcom/bcm4908/Makefile
45 -# SPDX-License-Identifier: GPL-2.0
46 -dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-netgear-r8000p.dtb
47 -dtb-$(CONFIG_ARCH_BCM4908) += bcm4906-tplink-archer-c2300-v1.dtb
48 -dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-asus-gt-ac5300.dtb
49 -dtb-$(CONFIG_ARCH_BCM4908) += bcm4908-netgear-raxe500.dtb
50 --- a/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
51 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/Makefile
53 # SPDX-License-Identifier: GPL-2.0
54 dtb-$(CONFIG_ARCH_BCMBCA) += \
55 + bcm4906-netgear-r8000p.dtb \
56 + bcm4906-tplink-archer-c2300-v1.dtb \
57 + bcm4908-asus-gt-ac5300.dtb \
58 + bcm4908-netgear-raxe500.dtb \
59 bcm4912-asus-gt-ax6000.dtb \
62 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-netgear-r8000p.dts
65 -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
67 -#include <dt-bindings/gpio/gpio.h>
68 -#include <dt-bindings/input/input.h>
69 -#include <dt-bindings/leds/common.h>
71 -#include "bcm4906.dtsi"
74 - compatible = "netgear,r8000p", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca";
75 - model = "Netgear R8000P";
78 - device_type = "memory";
79 - reg = <0x00 0x00 0x00 0x20000000>;
83 - compatible = "gpio-leds";
86 - function = LED_FUNCTION_POWER;
87 - color = <LED_COLOR_ID_WHITE>;
88 - gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
92 - function = LED_FUNCTION_POWER;
93 - color = <LED_COLOR_ID_AMBER>;
94 - gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
98 - function = LED_FUNCTION_WPS;
99 - color = <LED_COLOR_ID_WHITE>;
100 - gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
105 - color = <LED_COLOR_ID_WHITE>;
106 - gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
110 - function = "5ghz-1";
111 - color = <LED_COLOR_ID_WHITE>;
112 - gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
116 - function = "5ghz-2";
117 - color = <LED_COLOR_ID_WHITE>;
118 - gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
123 - color = <LED_COLOR_ID_WHITE>;
124 - gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
129 - color = <LED_COLOR_ID_WHITE>;
130 - gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
135 - color = <LED_COLOR_ID_WHITE>;
136 - gpios = <&gpio0 56 GPIO_ACTIVE_LOW>;
142 - nvmem-cells = <&base_mac_addr>;
143 - nvmem-cell-names = "mac-address";
182 - phy-mode = "internal";
183 - phy-handle = <&phy12>;
189 - nand-ecc-strength = <4>;
190 - nand-ecc-step-size = <512>;
193 - #address-cells = <1>;
197 - compatible = "fixed-partitions";
198 - #address-cells = <1>;
202 - compatible = "nvmem-cells";
204 - reg = <0x0 0x100000>;
206 - #address-cells = <1>;
208 - ranges = <0 0x0 0x100000>;
210 - base_mac_addr: mac@106a0 {
211 - reg = <0x106a0 0x6>;
216 - compatible = "brcm,bcm4908-firmware";
217 - label = "firmware";
218 - reg = <0x100000 0x4400000>;
222 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906-tplink-archer-c2300-v1.dts
225 -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
227 -#include <dt-bindings/gpio/gpio.h>
228 -#include <dt-bindings/input/input.h>
229 -#include <dt-bindings/leds/common.h>
231 -#include "bcm4906.dtsi"
234 - compatible = "tplink,archer-c2300-v1", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca";
235 - model = "TP-Link Archer C2300 V1";
238 - device_type = "memory";
239 - reg = <0x00 0x00 0x00 0x20000000>;
243 - compatible = "gpio-leds";
246 - function = LED_FUNCTION_POWER;
247 - color = <LED_COLOR_ID_BLUE>;
248 - gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
253 - color = <LED_COLOR_ID_BLUE>;
254 - gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
259 - color = <LED_COLOR_ID_BLUE>;
260 - gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
264 - function = LED_FUNCTION_WAN;
265 - color = <LED_COLOR_ID_AMBER>;
266 - gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
270 - function = LED_FUNCTION_WAN;
271 - color = <LED_COLOR_ID_BLUE>;
272 - gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
276 - function = LED_FUNCTION_LAN;
277 - color = <LED_COLOR_ID_BLUE>;
278 - gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
282 - function = LED_FUNCTION_WPS;
283 - color = <LED_COLOR_ID_BLUE>;
284 - gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
289 - color = <LED_COLOR_ID_BLUE>;
290 - gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
294 - function = "usbd3";
295 - color = <LED_COLOR_ID_BLUE>;
296 - gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
300 - function = LED_FUNCTION_BACKLIGHT;
301 - color = <LED_COLOR_ID_WHITE>;
302 - gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
307 - compatible = "gpio-keys-polled";
308 - poll-interval = <100>;
312 - linux,code = <KEY_BRIGHTNESS_ZERO>;
313 - gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
318 - linux,code = <KEY_WPS_BUTTON>;
319 - gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
324 - linux,code = <KEY_RFKILL>;
325 - gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
330 - linux,code = <KEY_RESTART>;
331 - gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
372 - phy-mode = "internal";
373 - phy-handle = <&phy12>;
379 - nand-ecc-strength = <4>;
380 - nand-ecc-step-size = <512>;
383 - #address-cells = <1>;
387 - compatible = "brcm,bcm4908-partitions";
388 - #address-cells = <1>;
393 - reg = <0x0 0x100000>;
397 - compatible = "brcm,bcm4908-firmware";
398 - reg = <0x100000 0x3900000>;
401 - partition@5800000 {
402 - compatible = "brcm,bcm4908-firmware";
403 - reg = <0x3a00000 0x3900000>;
407 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4906.dtsi
410 -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
412 -#include "bcm4908.dtsi"
416 - /delete-node/ cpu@2;
418 - /delete-node/ cpu@3;
422 - compatible = "arm,armv8-timer";
423 - interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
424 - <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
425 - <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
426 - <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
430 - compatible = "arm,cortex-a53-pmu";
431 - interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
432 - <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
433 - interrupt-affinity = <&cpu0>, <&cpu1>;
436 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dts
439 -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
441 -#include <dt-bindings/gpio/gpio.h>
442 -#include <dt-bindings/input/input.h>
443 -#include <dt-bindings/leds/common.h>
445 -#include "bcm4908.dtsi"
448 - compatible = "asus,gt-ac5300", "brcm,bcm4908", "brcm,bcmbca";
449 - model = "Asus GT-AC5300";
452 - device_type = "memory";
453 - reg = <0x00 0x00 0x00 0x40000000>;
457 - compatible = "gpio-keys-polled";
458 - poll-interval = <100>;
462 - linux,code = <KEY_RFKILL>;
463 - gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
468 - linux,code = <KEY_WPS_BUTTON>;
469 - gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
474 - linux,code = <KEY_RESTART>;
475 - gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
480 - linux,code = <KEY_BRIGHTNESS_ZERO>;
481 - gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
487 - nvmem-cells = <&base_mac_addr>;
488 - nvmem-cell-names = "mac-address";
525 - /* External BCM53134S switch */
529 - phy-mode = "rgmii";
563 - function = LED_FUNCTION_POWER;
564 - color = <LED_COLOR_ID_WHITE>;
565 - default-state = "on";
567 - pinctrl-names = "default";
568 - pinctrl-0 = <&pins_led_17_a>;
573 - function = LED_FUNCTION_WAN;
574 - color = <LED_COLOR_ID_RED>;
576 - pinctrl-names = "default";
577 - pinctrl-0 = <&pins_led_18_a>;
582 - function = LED_FUNCTION_WPS;
583 - color = <LED_COLOR_ID_WHITE>;
585 - pinctrl-names = "default";
586 - pinctrl-0 = <&pins_led_20_a>;
591 - function = LED_FUNCTION_WAN;
592 - color = <LED_COLOR_ID_WHITE>;
594 - pinctrl-names = "default";
595 - pinctrl-0 = <&pins_led_21_a>;
600 - function = LED_FUNCTION_LAN;
601 - color = <LED_COLOR_ID_WHITE>;
602 - pinctrl-names = "default";
603 - pinctrl-0 = <&pins_led_25_a>;
608 - nand-ecc-strength = <4>;
609 - nand-ecc-step-size = <512>;
613 - #address-cells = <1>;
617 - compatible = "brcm,bcm4908-partitions";
618 - #address-cells = <1>;
622 - compatible = "nvmem-cells";
624 - reg = <0x0 0x100000>;
626 - #address-cells = <1>;
628 - ranges = <0 0x0 0x100000>;
630 - base_mac_addr: mac@106a0 {
631 - reg = <0x106a0 0x6>;
636 - compatible = "brcm,bcm4908-firmware";
637 - reg = <0x100000 0x5700000>;
640 - partition@5800000 {
641 - compatible = "brcm,bcm4908-firmware";
642 - reg = <0x5800000 0x5700000>;
646 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-netgear-raxe500.dts
649 -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
651 -#include "bcm4908.dtsi"
654 - compatible = "netgear,raxe500", "brcm,bcm4908", "brcm,bcmbca";
655 - model = "Netgear RAXE500";
658 - device_type = "memory";
659 - reg = <0x00 0x00 0x00 0x40000000>;
694 - phy-mode = "internal";
695 - phy-handle = <&phy12>;
699 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
702 -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
704 -#include <dt-bindings/interrupt-controller/irq.h>
705 -#include <dt-bindings/interrupt-controller/arm-gic.h>
706 -#include <dt-bindings/phy/phy.h>
707 -#include <dt-bindings/soc/bcm-pmb.h>
712 - interrupt-parent = <&gic>;
714 - #address-cells = <2>;
722 - stdout-path = "serial0:115200n8";
726 - #address-cells = <1>;
730 - device_type = "cpu";
731 - compatible = "brcm,brahma-b53";
733 - enable-method = "spin-table";
734 - cpu-release-addr = <0x0 0xfff8>;
735 - next-level-cache = <&l2>;
739 - device_type = "cpu";
740 - compatible = "brcm,brahma-b53";
742 - enable-method = "spin-table";
743 - cpu-release-addr = <0x0 0xfff8>;
744 - next-level-cache = <&l2>;
748 - device_type = "cpu";
749 - compatible = "brcm,brahma-b53";
751 - enable-method = "spin-table";
752 - cpu-release-addr = <0x0 0xfff8>;
753 - next-level-cache = <&l2>;
757 - device_type = "cpu";
758 - compatible = "brcm,brahma-b53";
760 - enable-method = "spin-table";
761 - cpu-release-addr = <0x0 0xfff8>;
762 - next-level-cache = <&l2>;
766 - compatible = "cache";
771 - compatible = "simple-bus";
772 - #address-cells = <1>;
774 - ranges = <0x00 0x00 0x81000000 0x4000>;
776 - gic: interrupt-controller@1000 {
777 - compatible = "arm,gic-400";
778 - #interrupt-cells = <3>;
779 - #address-cells = <0>;
780 - interrupt-controller;
781 - reg = <0x1000 0x1000>,
787 - compatible = "arm,armv8-timer";
788 - interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
789 - <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
790 - <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
791 - <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
795 - compatible = "arm,cortex-a53-pmu";
796 - interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
797 - <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
798 - <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
799 - <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
800 - interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
804 - periph_clk: periph_clk {
805 - compatible = "fixed-clock";
806 - #clock-cells = <0>;
807 - clock-frequency = <50000000>;
808 - clock-output-names = "periph";
813 - compatible = "simple-bus";
814 - #address-cells = <1>;
816 - ranges = <0x00 0x00 0x80000000 0x281000>;
818 - enet: ethernet@2000 {
819 - compatible = "brcm,bcm4908-enet";
820 - reg = <0x2000 0x1000>;
822 - interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
823 - <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
824 - interrupt-names = "rx", "tx";
827 - usb_phy: usb-phy@c200 {
828 - compatible = "brcm,bcm4908-usb-phy";
829 - reg = <0xc200 0x100>;
830 - reg-names = "ctrl";
831 - power-domains = <&pmb BCM_PMB_HOST_USB>;
836 - status = "disabled";
840 - compatible = "generic-ehci";
841 - reg = <0xc300 0x100>;
842 - interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
843 - phys = <&usb_phy PHY_TYPE_USB2>;
844 - status = "disabled";
848 - compatible = "generic-ohci";
849 - reg = <0xc400 0x100>;
850 - interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
851 - phys = <&usb_phy PHY_TYPE_USB2>;
852 - status = "disabled";
856 - compatible = "generic-xhci";
857 - reg = <0xd000 0x8c8>;
858 - interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
859 - phys = <&usb_phy PHY_TYPE_USB3>;
860 - status = "disabled";
864 - compatible = "simple-bus";
866 - #address-cells = <1>;
867 - ranges = <0 0x80000 0x50000>;
869 - ethernet-switch@0 {
870 - compatible = "brcm,bcm4908-switch";
871 - reg = <0x0 0x40000>,
877 - reg-names = "core", "reg", "intrl2_0",
878 - "intrl2_1", "fcb", "acb";
879 - interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
880 - <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
881 - brcm,num-gphy = <5>;
882 - brcm,num-rgmii-ports = <2>;
884 - #address-cells = <1>;
888 - #address-cells = <1>;
893 - phy-mode = "internal";
894 - phy-handle = <&phy8>;
899 - phy-mode = "internal";
900 - phy-handle = <&phy9>;
905 - phy-mode = "internal";
906 - phy-handle = <&phy10>;
911 - phy-mode = "internal";
912 - phy-handle = <&phy11>;
917 - phy-mode = "internal";
918 - ethernet = <&enet>;
929 - compatible = "brcm,unimac-mdio";
930 - reg = <0x405c0 0x8>;
931 - reg-names = "mdio";
933 - #address-cells = <1>;
935 - phy8: ethernet-phy@8 {
939 - phy9: ethernet-phy@9 {
943 - phy10: ethernet-phy@a {
947 - phy11: ethernet-phy@b {
951 - phy12: ethernet-phy@c {
957 - procmon: syscon@280000 {
958 - compatible = "simple-bus";
959 - reg = <0x280000 0x1000>;
962 - #address-cells = <1>;
965 - pmb: power-controller@2800c0 {
966 - compatible = "brcm,bcm4908-pmb";
967 - reg = <0x2800c0 0x40>;
968 - #power-domain-cells = <1>;
974 - compatible = "simple-bus";
975 - #address-cells = <1>;
977 - ranges = <0x00 0x00 0xff800000 0x3000>;
979 - twd: timer-mfd@400 {
980 - compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
981 - reg = <0x400 0x4c>;
982 - ranges = <0x0 0x400 0x4c>;
984 - #address-cells = <1>;
988 - compatible = "brcm,bcm6345-wdt";
993 - gpio0: gpio-controller@500 {
994 - compatible = "brcm,bcm6345-gpio";
995 - reg-names = "dirout", "dat";
996 - reg = <0x500 0x28>, <0x528 0x28>;
1003 - compatible = "brcm,bcm4908-pinctrl";
1004 - reg = <0x560 0x10>;
1006 - pins_led_0_a: led_0-a-pins {
1007 - function = "led_0";
1008 - groups = "led_0_grp_a";
1011 - pins_led_1_a: led_1-a-pins {
1012 - function = "led_1";
1013 - groups = "led_1_grp_a";
1016 - pins_led_2_a: led_2-a-pins {
1017 - function = "led_2";
1018 - groups = "led_2_grp_a";
1021 - pins_led_3_a: led_3-a-pins {
1022 - function = "led_3";
1023 - groups = "led_3_grp_a";
1026 - pins_led_4_a: led_4-a-pins {
1027 - function = "led_4";
1028 - groups = "led_4_grp_a";
1031 - pins_led_5_a: led_5-a-pins {
1032 - function = "led_5";
1033 - groups = "led_5_grp_a";
1036 - pins_led_6_a: led_6-a-pins {
1037 - function = "led_6";
1038 - groups = "led_6_grp_a";
1041 - pins_led_7_a: led_7-a-pins {
1042 - function = "led_7";
1043 - groups = "led_7_grp_a";
1046 - pins_led_8_a: led_8-a-pins {
1047 - function = "led_8";
1048 - groups = "led_8_grp_a";
1051 - pins_led_9_a: led_9-a-pins {
1052 - function = "led_9";
1053 - groups = "led_9_grp_a";
1056 - pins_led_10_a: led_10-a-pins {
1057 - function = "led_10";
1058 - groups = "led_10_grp_a";
1061 - pins_led_11_a: led_11-a-pins {
1062 - function = "led_11";
1063 - groups = "led_11_grp_a";
1066 - pins_led_12_a: led_12-a-pins {
1067 - function = "led_12";
1068 - groups = "led_12_grp_a";
1071 - pins_led_13_a: led_13-a-pins {
1072 - function = "led_13";
1073 - groups = "led_13_grp_a";
1076 - pins_led_14_a: led_14-a-pins {
1077 - function = "led_14";
1078 - groups = "led_14_grp_a";
1081 - pins_led_15_a: led_15-a-pins {
1082 - function = "led_15";
1083 - groups = "led_15_grp_a";
1086 - pins_led_16_a: led_16-a-pins {
1087 - function = "led_16";
1088 - groups = "led_16_grp_a";
1091 - pins_led_17_a: led_17-a-pins {
1092 - function = "led_17";
1093 - groups = "led_17_grp_a";
1096 - pins_led_18_a: led_18-a-pins {
1097 - function = "led_18";
1098 - groups = "led_18_grp_a";
1101 - pins_led_19_a: led_19-a-pins {
1102 - function = "led_19";
1103 - groups = "led_19_grp_a";
1106 - pins_led_20_a: led_20-a-pins {
1107 - function = "led_20";
1108 - groups = "led_20_grp_a";
1111 - pins_led_21_a: led_21-a-pins {
1112 - function = "led_21";
1113 - groups = "led_21_grp_a";
1116 - pins_led_22_a: led_22-a-pins {
1117 - function = "led_22";
1118 - groups = "led_22_grp_a";
1121 - pins_led_23_a: led_23-a-pins {
1122 - function = "led_23";
1123 - groups = "led_23_grp_a";
1126 - pins_led_24_a: led_24-a-pins {
1127 - function = "led_24";
1128 - groups = "led_24_grp_a";
1131 - pins_led_25_a: led_25-a-pins {
1132 - function = "led_25";
1133 - groups = "led_25_grp_a";
1136 - pins_led_26_a: led_26-a-pins {
1137 - function = "led_26";
1138 - groups = "led_26_grp_a";
1141 - pins_led_27_a: led_27-a-pins {
1142 - function = "led_27";
1143 - groups = "led_27_grp_a";
1146 - pins_led_28_a: led_28-a-pins {
1147 - function = "led_28";
1148 - groups = "led_28_grp_a";
1151 - pins_led_29_a: led_29-a-pins {
1152 - function = "led_29";
1153 - groups = "led_29_grp_a";
1156 - pins_led_30_a: led_30-a-pins {
1157 - function = "led_30";
1158 - groups = "led_30_grp_a";
1161 - pins_led_31_a: led_31-a-pins {
1162 - function = "led_31";
1163 - groups = "led_31_grp_a";
1166 - pins_hs_uart: hs_uart-pins {
1167 - function = "hs_uart";
1168 - groups = "hs_uart_grp";
1171 - pins_i2c_a: i2c-a-pins {
1173 - groups = "i2c_grp_a";
1176 - pins_i2c_b: i2c-b-pins {
1178 - groups = "i2c_grp_b";
1181 - pins_i2s: i2s-pins {
1183 - groups = "i2s_grp";
1186 - pins_nand_ctrl: nand_ctrl-pins {
1187 - function = "nand_ctrl";
1188 - groups = "nand_ctrl_grp";
1191 - pins_nand_data: nand_data-pins {
1192 - function = "nand_data";
1193 - groups = "nand_data_grp";
1196 - pins_emmc_ctrl: emmc_ctrl-pins {
1197 - function = "emmc_ctrl";
1198 - groups = "emmc_ctrl_grp";
1201 - pins_usb0_pwr: usb0_pwr-pins {
1202 - function = "usb0_pwr";
1203 - groups = "usb0_pwr_grp";
1206 - pins_usb1_pwr: usb1_pwr-pins {
1207 - function = "usb1_pwr";
1208 - groups = "usb1_pwr_grp";
1212 - uart0: serial@640 {
1213 - compatible = "brcm,bcm6345-uart";
1214 - reg = <0x640 0x18>;
1215 - interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
1216 - clocks = <&periph_clk>;
1217 - clock-names = "refclk";
1222 - compatible = "brcm,bcm4908-leds", "brcm,bcm63138-leds";
1223 - reg = <0x800 0xdc>;
1225 - #address-cells = <1>;
1226 - #size-cells = <0>;
1229 - nand-controller@1800 {
1230 - #address-cells = <1>;
1231 - #size-cells = <0>;
1232 - compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
1233 - reg = <0x1800 0x600>, <0x2000 0x10>;
1234 - reg-names = "nand", "nand-int-base";
1235 - interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
1236 - interrupt-names = "nand";
1240 - compatible = "brcm,nandcs";
1246 - compatible = "brcm,brcmper-i2c";
1247 - reg = <0x2100 0x58>;
1248 - clock-frequency = <97500>;
1249 - pinctrl-names = "default";
1250 - pinctrl-0 = <&pins_i2c_a>;
1251 - status = "disabled";
1255 - compatible = "brcm,misc", "simple-mfd";
1256 - reg = <0x2600 0xe4>;
1258 - #address-cells = <1>;
1259 - #size-cells = <1>;
1260 - ranges = <0x00 0x2600 0xe4>;
1262 - reset-controller@2644 {
1263 - compatible = "brcm,bcm4908-misc-pcie-reset";
1264 - reg = <0x44 0x04>;
1265 - #reset-cells = <1>;
1271 - compatible = "syscon-reboot";
1278 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts
1280 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
1282 +#include <dt-bindings/gpio/gpio.h>
1283 +#include <dt-bindings/input/input.h>
1284 +#include <dt-bindings/leds/common.h>
1286 +#include "bcm4906.dtsi"
1289 + compatible = "netgear,r8000p", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca";
1290 + model = "Netgear R8000P";
1293 + device_type = "memory";
1294 + reg = <0x00 0x00 0x00 0x20000000>;
1298 + compatible = "gpio-leds";
1301 + function = LED_FUNCTION_POWER;
1302 + color = <LED_COLOR_ID_WHITE>;
1303 + gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
1307 + function = LED_FUNCTION_POWER;
1308 + color = <LED_COLOR_ID_AMBER>;
1309 + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
1313 + function = LED_FUNCTION_WPS;
1314 + color = <LED_COLOR_ID_WHITE>;
1315 + gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
1319 + function = "2ghz";
1320 + color = <LED_COLOR_ID_WHITE>;
1321 + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
1325 + function = "5ghz-1";
1326 + color = <LED_COLOR_ID_WHITE>;
1327 + gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
1331 + function = "5ghz-2";
1332 + color = <LED_COLOR_ID_WHITE>;
1333 + gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
1337 + function = "usb2";
1338 + color = <LED_COLOR_ID_WHITE>;
1339 + gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
1343 + function = "usb3";
1344 + color = <LED_COLOR_ID_WHITE>;
1345 + gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
1349 + function = "wifi";
1350 + color = <LED_COLOR_ID_WHITE>;
1351 + gpios = <&gpio0 56 GPIO_ACTIVE_LOW>;
1357 + nvmem-cells = <&base_mac_addr>;
1358 + nvmem-cell-names = "mac-address";
1397 + phy-mode = "internal";
1398 + phy-handle = <&phy12>;
1404 + nand-ecc-strength = <4>;
1405 + nand-ecc-step-size = <512>;
1406 + nand-on-flash-bbt;
1408 + #address-cells = <1>;
1409 + #size-cells = <0>;
1412 + compatible = "fixed-partitions";
1413 + #address-cells = <1>;
1414 + #size-cells = <1>;
1417 + compatible = "nvmem-cells";
1419 + reg = <0x0 0x100000>;
1421 + #address-cells = <1>;
1422 + #size-cells = <1>;
1423 + ranges = <0 0x0 0x100000>;
1425 + base_mac_addr: mac@106a0 {
1426 + reg = <0x106a0 0x6>;
1430 + partition@100000 {
1431 + compatible = "brcm,bcm4908-firmware";
1432 + label = "firmware";
1433 + reg = <0x100000 0x4400000>;
1438 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts
1440 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
1442 +#include <dt-bindings/gpio/gpio.h>
1443 +#include <dt-bindings/input/input.h>
1444 +#include <dt-bindings/leds/common.h>
1446 +#include "bcm4906.dtsi"
1449 + compatible = "tplink,archer-c2300-v1", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca";
1450 + model = "TP-Link Archer C2300 V1";
1453 + device_type = "memory";
1454 + reg = <0x00 0x00 0x00 0x20000000>;
1458 + compatible = "gpio-leds";
1461 + function = LED_FUNCTION_POWER;
1462 + color = <LED_COLOR_ID_BLUE>;
1463 + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
1467 + function = "2ghz";
1468 + color = <LED_COLOR_ID_BLUE>;
1469 + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
1473 + function = "5ghz";
1474 + color = <LED_COLOR_ID_BLUE>;
1475 + gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
1479 + function = LED_FUNCTION_WAN;
1480 + color = <LED_COLOR_ID_AMBER>;
1481 + gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
1485 + function = LED_FUNCTION_WAN;
1486 + color = <LED_COLOR_ID_BLUE>;
1487 + gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
1491 + function = LED_FUNCTION_LAN;
1492 + color = <LED_COLOR_ID_BLUE>;
1493 + gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
1497 + function = LED_FUNCTION_WPS;
1498 + color = <LED_COLOR_ID_BLUE>;
1499 + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
1503 + function = "usb2";
1504 + color = <LED_COLOR_ID_BLUE>;
1505 + gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
1509 + function = "usbd3";
1510 + color = <LED_COLOR_ID_BLUE>;
1511 + gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
1515 + function = LED_FUNCTION_BACKLIGHT;
1516 + color = <LED_COLOR_ID_WHITE>;
1517 + gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
1521 + gpio-keys-polled {
1522 + compatible = "gpio-keys-polled";
1523 + poll-interval = <100>;
1527 + linux,code = <KEY_BRIGHTNESS_ZERO>;
1528 + gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
1533 + linux,code = <KEY_WPS_BUTTON>;
1534 + gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
1539 + linux,code = <KEY_RFKILL>;
1540 + gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
1545 + linux,code = <KEY_RESTART>;
1546 + gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
1587 + phy-mode = "internal";
1588 + phy-handle = <&phy12>;
1594 + nand-ecc-strength = <4>;
1595 + nand-ecc-step-size = <512>;
1596 + nand-on-flash-bbt;
1598 + #address-cells = <1>;
1599 + #size-cells = <0>;
1602 + compatible = "brcm,bcm4908-partitions";
1603 + #address-cells = <1>;
1604 + #size-cells = <1>;
1608 + reg = <0x0 0x100000>;
1611 + partition@100000 {
1612 + compatible = "brcm,bcm4908-firmware";
1613 + reg = <0x100000 0x3900000>;
1616 + partition@5800000 {
1617 + compatible = "brcm,bcm4908-firmware";
1618 + reg = <0x3a00000 0x3900000>;
1623 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi
1625 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
1627 +#include "bcm4908.dtsi"
1631 + /delete-node/ cpu@2;
1633 + /delete-node/ cpu@3;
1637 + compatible = "arm,armv8-timer";
1638 + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1639 + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1640 + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1641 + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1645 + compatible = "arm,cortex-a53-pmu";
1646 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
1647 + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1648 + interrupt-affinity = <&cpu0>, <&cpu1>;
1652 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-asus-gt-ac5300.dts
1654 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
1656 +#include <dt-bindings/gpio/gpio.h>
1657 +#include <dt-bindings/input/input.h>
1658 +#include <dt-bindings/leds/common.h>
1660 +#include "bcm4908.dtsi"
1663 + compatible = "asus,gt-ac5300", "brcm,bcm4908", "brcm,bcmbca";
1664 + model = "Asus GT-AC5300";
1667 + device_type = "memory";
1668 + reg = <0x00 0x00 0x00 0x40000000>;
1671 + gpio-keys-polled {
1672 + compatible = "gpio-keys-polled";
1673 + poll-interval = <100>;
1677 + linux,code = <KEY_RFKILL>;
1678 + gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
1683 + linux,code = <KEY_WPS_BUTTON>;
1684 + gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
1689 + linux,code = <KEY_RESTART>;
1690 + gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
1695 + linux,code = <KEY_BRIGHTNESS_ZERO>;
1696 + gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
1702 + nvmem-cells = <&base_mac_addr>;
1703 + nvmem-cell-names = "mac-address";
1740 + /* External BCM53134S switch */
1744 + phy-mode = "rgmii";
1778 + function = LED_FUNCTION_POWER;
1779 + color = <LED_COLOR_ID_WHITE>;
1780 + default-state = "on";
1782 + pinctrl-names = "default";
1783 + pinctrl-0 = <&pins_led_17_a>;
1788 + function = LED_FUNCTION_WAN;
1789 + color = <LED_COLOR_ID_RED>;
1791 + pinctrl-names = "default";
1792 + pinctrl-0 = <&pins_led_18_a>;
1797 + function = LED_FUNCTION_WPS;
1798 + color = <LED_COLOR_ID_WHITE>;
1800 + pinctrl-names = "default";
1801 + pinctrl-0 = <&pins_led_20_a>;
1804 + led-wan-white@15 {
1806 + function = LED_FUNCTION_WAN;
1807 + color = <LED_COLOR_ID_WHITE>;
1809 + pinctrl-names = "default";
1810 + pinctrl-0 = <&pins_led_21_a>;
1815 + function = LED_FUNCTION_LAN;
1816 + color = <LED_COLOR_ID_WHITE>;
1817 + pinctrl-names = "default";
1818 + pinctrl-0 = <&pins_led_25_a>;
1823 + nand-ecc-strength = <4>;
1824 + nand-ecc-step-size = <512>;
1825 + nand-on-flash-bbt;
1828 + #address-cells = <1>;
1829 + #size-cells = <0>;
1832 + compatible = "brcm,bcm4908-partitions";
1833 + #address-cells = <1>;
1834 + #size-cells = <1>;
1837 + compatible = "nvmem-cells";
1839 + reg = <0x0 0x100000>;
1841 + #address-cells = <1>;
1842 + #size-cells = <1>;
1843 + ranges = <0 0x0 0x100000>;
1845 + base_mac_addr: mac@106a0 {
1846 + reg = <0x106a0 0x6>;
1850 + partition@100000 {
1851 + compatible = "brcm,bcm4908-firmware";
1852 + reg = <0x100000 0x5700000>;
1855 + partition@5800000 {
1856 + compatible = "brcm,bcm4908-firmware";
1857 + reg = <0x5800000 0x5700000>;
1862 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts
1864 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
1866 +#include "bcm4908.dtsi"
1869 + compatible = "netgear,raxe500", "brcm,bcm4908", "brcm,bcmbca";
1870 + model = "Netgear RAXE500";
1873 + device_type = "memory";
1874 + reg = <0x00 0x00 0x00 0x40000000>;
1909 + phy-mode = "internal";
1910 + phy-handle = <&phy12>;
1915 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
1917 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
1919 +#include <dt-bindings/interrupt-controller/irq.h>
1920 +#include <dt-bindings/interrupt-controller/arm-gic.h>
1921 +#include <dt-bindings/phy/phy.h>
1922 +#include <dt-bindings/soc/bcm-pmb.h>
1927 + interrupt-parent = <&gic>;
1929 + #address-cells = <2>;
1930 + #size-cells = <2>;
1937 + stdout-path = "serial0:115200n8";
1941 + #address-cells = <1>;
1942 + #size-cells = <0>;
1945 + device_type = "cpu";
1946 + compatible = "brcm,brahma-b53";
1948 + enable-method = "spin-table";
1949 + cpu-release-addr = <0x0 0xfff8>;
1950 + next-level-cache = <&l2>;
1954 + device_type = "cpu";
1955 + compatible = "brcm,brahma-b53";
1957 + enable-method = "spin-table";
1958 + cpu-release-addr = <0x0 0xfff8>;
1959 + next-level-cache = <&l2>;
1963 + device_type = "cpu";
1964 + compatible = "brcm,brahma-b53";
1966 + enable-method = "spin-table";
1967 + cpu-release-addr = <0x0 0xfff8>;
1968 + next-level-cache = <&l2>;
1972 + device_type = "cpu";
1973 + compatible = "brcm,brahma-b53";
1975 + enable-method = "spin-table";
1976 + cpu-release-addr = <0x0 0xfff8>;
1977 + next-level-cache = <&l2>;
1981 + compatible = "cache";
1986 + compatible = "simple-bus";
1987 + #address-cells = <1>;
1988 + #size-cells = <1>;
1989 + ranges = <0x00 0x00 0x81000000 0x4000>;
1991 + gic: interrupt-controller@1000 {
1992 + compatible = "arm,gic-400";
1993 + #interrupt-cells = <3>;
1994 + #address-cells = <0>;
1995 + interrupt-controller;
1996 + reg = <0x1000 0x1000>,
2002 + compatible = "arm,armv8-timer";
2003 + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2004 + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2005 + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
2006 + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
2010 + compatible = "arm,cortex-a53-pmu";
2011 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
2012 + <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
2013 + <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
2014 + <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
2015 + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
2019 + periph_clk: periph_clk {
2020 + compatible = "fixed-clock";
2021 + #clock-cells = <0>;
2022 + clock-frequency = <50000000>;
2023 + clock-output-names = "periph";
2028 + compatible = "simple-bus";
2029 + #address-cells = <1>;
2030 + #size-cells = <1>;
2031 + ranges = <0x00 0x00 0x80000000 0x281000>;
2033 + enet: ethernet@2000 {
2034 + compatible = "brcm,bcm4908-enet";
2035 + reg = <0x2000 0x1000>;
2037 + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
2038 + <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
2039 + interrupt-names = "rx", "tx";
2042 + usb_phy: usb-phy@c200 {
2043 + compatible = "brcm,bcm4908-usb-phy";
2044 + reg = <0xc200 0x100>;
2045 + reg-names = "ctrl";
2046 + power-domains = <&pmb BCM_PMB_HOST_USB>;
2051 + status = "disabled";
2055 + compatible = "generic-ehci";
2056 + reg = <0xc300 0x100>;
2057 + interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
2058 + phys = <&usb_phy PHY_TYPE_USB2>;
2059 + status = "disabled";
2063 + compatible = "generic-ohci";
2064 + reg = <0xc400 0x100>;
2065 + interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
2066 + phys = <&usb_phy PHY_TYPE_USB2>;
2067 + status = "disabled";
2071 + compatible = "generic-xhci";
2072 + reg = <0xd000 0x8c8>;
2073 + interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
2074 + phys = <&usb_phy PHY_TYPE_USB3>;
2075 + status = "disabled";
2079 + compatible = "simple-bus";
2080 + #size-cells = <1>;
2081 + #address-cells = <1>;
2082 + ranges = <0 0x80000 0x50000>;
2084 + ethernet-switch@0 {
2085 + compatible = "brcm,bcm4908-switch";
2086 + reg = <0x0 0x40000>,
2092 + reg-names = "core", "reg", "intrl2_0",
2093 + "intrl2_1", "fcb", "acb";
2094 + interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
2095 + <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
2096 + brcm,num-gphy = <5>;
2097 + brcm,num-rgmii-ports = <2>;
2099 + #address-cells = <1>;
2100 + #size-cells = <0>;
2103 + #address-cells = <1>;
2104 + #size-cells = <0>;
2108 + phy-mode = "internal";
2109 + phy-handle = <&phy8>;
2114 + phy-mode = "internal";
2115 + phy-handle = <&phy9>;
2120 + phy-mode = "internal";
2121 + phy-handle = <&phy10>;
2126 + phy-mode = "internal";
2127 + phy-handle = <&phy11>;
2132 + phy-mode = "internal";
2133 + ethernet = <&enet>;
2143 + mdio: mdio@405c0 {
2144 + compatible = "brcm,unimac-mdio";
2145 + reg = <0x405c0 0x8>;
2146 + reg-names = "mdio";
2147 + #size-cells = <0>;
2148 + #address-cells = <1>;
2150 + phy8: ethernet-phy@8 {
2154 + phy9: ethernet-phy@9 {
2158 + phy10: ethernet-phy@a {
2162 + phy11: ethernet-phy@b {
2166 + phy12: ethernet-phy@c {
2172 + procmon: syscon@280000 {
2173 + compatible = "simple-bus";
2174 + reg = <0x280000 0x1000>;
2177 + #address-cells = <1>;
2178 + #size-cells = <1>;
2180 + pmb: power-controller@2800c0 {
2181 + compatible = "brcm,bcm4908-pmb";
2182 + reg = <0x2800c0 0x40>;
2183 + #power-domain-cells = <1>;
2189 + compatible = "simple-bus";
2190 + #address-cells = <1>;
2191 + #size-cells = <1>;
2192 + ranges = <0x00 0x00 0xff800000 0x3000>;
2194 + twd: timer-mfd@400 {
2195 + compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
2196 + reg = <0x400 0x4c>;
2197 + ranges = <0x0 0x400 0x4c>;
2199 + #address-cells = <1>;
2200 + #size-cells = <1>;
2203 + compatible = "brcm,bcm6345-wdt";
2208 + gpio0: gpio-controller@500 {
2209 + compatible = "brcm,bcm6345-gpio";
2210 + reg-names = "dirout", "dat";
2211 + reg = <0x500 0x28>, <0x528 0x28>;
2213 + #gpio-cells = <2>;
2218 + compatible = "brcm,bcm4908-pinctrl";
2219 + reg = <0x560 0x10>;
2221 + pins_led_0_a: led_0-a-pins {
2222 + function = "led_0";
2223 + groups = "led_0_grp_a";
2226 + pins_led_1_a: led_1-a-pins {
2227 + function = "led_1";
2228 + groups = "led_1_grp_a";
2231 + pins_led_2_a: led_2-a-pins {
2232 + function = "led_2";
2233 + groups = "led_2_grp_a";
2236 + pins_led_3_a: led_3-a-pins {
2237 + function = "led_3";
2238 + groups = "led_3_grp_a";
2241 + pins_led_4_a: led_4-a-pins {
2242 + function = "led_4";
2243 + groups = "led_4_grp_a";
2246 + pins_led_5_a: led_5-a-pins {
2247 + function = "led_5";
2248 + groups = "led_5_grp_a";
2251 + pins_led_6_a: led_6-a-pins {
2252 + function = "led_6";
2253 + groups = "led_6_grp_a";
2256 + pins_led_7_a: led_7-a-pins {
2257 + function = "led_7";
2258 + groups = "led_7_grp_a";
2261 + pins_led_8_a: led_8-a-pins {
2262 + function = "led_8";
2263 + groups = "led_8_grp_a";
2266 + pins_led_9_a: led_9-a-pins {
2267 + function = "led_9";
2268 + groups = "led_9_grp_a";
2271 + pins_led_10_a: led_10-a-pins {
2272 + function = "led_10";
2273 + groups = "led_10_grp_a";
2276 + pins_led_11_a: led_11-a-pins {
2277 + function = "led_11";
2278 + groups = "led_11_grp_a";
2281 + pins_led_12_a: led_12-a-pins {
2282 + function = "led_12";
2283 + groups = "led_12_grp_a";
2286 + pins_led_13_a: led_13-a-pins {
2287 + function = "led_13";
2288 + groups = "led_13_grp_a";
2291 + pins_led_14_a: led_14-a-pins {
2292 + function = "led_14";
2293 + groups = "led_14_grp_a";
2296 + pins_led_15_a: led_15-a-pins {
2297 + function = "led_15";
2298 + groups = "led_15_grp_a";
2301 + pins_led_16_a: led_16-a-pins {
2302 + function = "led_16";
2303 + groups = "led_16_grp_a";
2306 + pins_led_17_a: led_17-a-pins {
2307 + function = "led_17";
2308 + groups = "led_17_grp_a";
2311 + pins_led_18_a: led_18-a-pins {
2312 + function = "led_18";
2313 + groups = "led_18_grp_a";
2316 + pins_led_19_a: led_19-a-pins {
2317 + function = "led_19";
2318 + groups = "led_19_grp_a";
2321 + pins_led_20_a: led_20-a-pins {
2322 + function = "led_20";
2323 + groups = "led_20_grp_a";
2326 + pins_led_21_a: led_21-a-pins {
2327 + function = "led_21";
2328 + groups = "led_21_grp_a";
2331 + pins_led_22_a: led_22-a-pins {
2332 + function = "led_22";
2333 + groups = "led_22_grp_a";
2336 + pins_led_23_a: led_23-a-pins {
2337 + function = "led_23";
2338 + groups = "led_23_grp_a";
2341 + pins_led_24_a: led_24-a-pins {
2342 + function = "led_24";
2343 + groups = "led_24_grp_a";
2346 + pins_led_25_a: led_25-a-pins {
2347 + function = "led_25";
2348 + groups = "led_25_grp_a";
2351 + pins_led_26_a: led_26-a-pins {
2352 + function = "led_26";
2353 + groups = "led_26_grp_a";
2356 + pins_led_27_a: led_27-a-pins {
2357 + function = "led_27";
2358 + groups = "led_27_grp_a";
2361 + pins_led_28_a: led_28-a-pins {
2362 + function = "led_28";
2363 + groups = "led_28_grp_a";
2366 + pins_led_29_a: led_29-a-pins {
2367 + function = "led_29";
2368 + groups = "led_29_grp_a";
2371 + pins_led_30_a: led_30-a-pins {
2372 + function = "led_30";
2373 + groups = "led_30_grp_a";
2376 + pins_led_31_a: led_31-a-pins {
2377 + function = "led_31";
2378 + groups = "led_31_grp_a";
2381 + pins_hs_uart: hs_uart-pins {
2382 + function = "hs_uart";
2383 + groups = "hs_uart_grp";
2386 + pins_i2c_a: i2c-a-pins {
2388 + groups = "i2c_grp_a";
2391 + pins_i2c_b: i2c-b-pins {
2393 + groups = "i2c_grp_b";
2396 + pins_i2s: i2s-pins {
2398 + groups = "i2s_grp";
2401 + pins_nand_ctrl: nand_ctrl-pins {
2402 + function = "nand_ctrl";
2403 + groups = "nand_ctrl_grp";
2406 + pins_nand_data: nand_data-pins {
2407 + function = "nand_data";
2408 + groups = "nand_data_grp";
2411 + pins_emmc_ctrl: emmc_ctrl-pins {
2412 + function = "emmc_ctrl";
2413 + groups = "emmc_ctrl_grp";
2416 + pins_usb0_pwr: usb0_pwr-pins {
2417 + function = "usb0_pwr";
2418 + groups = "usb0_pwr_grp";
2421 + pins_usb1_pwr: usb1_pwr-pins {
2422 + function = "usb1_pwr";
2423 + groups = "usb1_pwr_grp";
2427 + uart0: serial@640 {
2428 + compatible = "brcm,bcm6345-uart";
2429 + reg = <0x640 0x18>;
2430 + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
2431 + clocks = <&periph_clk>;
2432 + clock-names = "refclk";
2437 + compatible = "brcm,bcm4908-leds", "brcm,bcm63138-leds";
2438 + reg = <0x800 0xdc>;
2440 + #address-cells = <1>;
2441 + #size-cells = <0>;
2444 + nand-controller@1800 {
2445 + #address-cells = <1>;
2446 + #size-cells = <0>;
2447 + compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.1", "brcm,brcmnand";
2448 + reg = <0x1800 0x600>, <0x2000 0x10>;
2449 + reg-names = "nand", "nand-int-base";
2450 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
2451 + interrupt-names = "nand";
2455 + compatible = "brcm,nandcs";
2461 + compatible = "brcm,brcmper-i2c";
2462 + reg = <0x2100 0x58>;
2463 + clock-frequency = <97500>;
2464 + pinctrl-names = "default";
2465 + pinctrl-0 = <&pins_i2c_a>;
2466 + status = "disabled";
2470 + compatible = "brcm,misc", "simple-mfd";
2471 + reg = <0x2600 0xe4>;
2473 + #address-cells = <1>;
2474 + #size-cells = <1>;
2475 + ranges = <0x00 0x2600 0xe4>;
2477 + reset-controller@2644 {
2478 + compatible = "brcm,bcm4908-misc-pcie-reset";
2479 + reg = <0x44 0x04>;
2480 + #reset-cells = <1>;
2486 + compatible = "syscon-reboot";