1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 2 3 #include <dt-bindings/gpio/gpio.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/leds/common.h> 6 6 7 #include "bcm4906.dtsi" 7 #include "bcm4906.dtsi" 8 8 9 / { 9 / { 10 compatible = "netgear,r8000p", "brcm,b 10 compatible = "netgear,r8000p", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca"; 11 model = "Netgear R8000P"; 11 model = "Netgear R8000P"; 12 12 13 memory@0 { 13 memory@0 { 14 device_type = "memory"; 14 device_type = "memory"; 15 reg = <0x00 0x00 0x00 0x200000 15 reg = <0x00 0x00 0x00 0x20000000>; 16 }; 16 }; 17 17 18 leds { 18 leds { 19 compatible = "gpio-leds"; 19 compatible = "gpio-leds"; 20 20 21 led-power-white { 21 led-power-white { 22 function = LED_FUNCTIO 22 function = LED_FUNCTION_POWER; 23 color = <LED_COLOR_ID_ 23 color = <LED_COLOR_ID_WHITE>; 24 gpios = <&gpio0 8 GPIO 24 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; 25 }; 25 }; 26 26 27 led-power-amber { 27 led-power-amber { 28 function = LED_FUNCTIO 28 function = LED_FUNCTION_POWER; 29 color = <LED_COLOR_ID_ 29 color = <LED_COLOR_ID_AMBER>; 30 gpios = <&gpio0 9 GPIO 30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 31 }; 31 }; 32 32 33 led-wps { 33 led-wps { 34 function = LED_FUNCTIO 34 function = LED_FUNCTION_WPS; 35 color = <LED_COLOR_ID_ 35 color = <LED_COLOR_ID_WHITE>; 36 gpios = <&gpio0 10 GPI 36 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; 37 }; 37 }; 38 38 39 led-2ghz { 39 led-2ghz { 40 function = "2ghz"; 40 function = "2ghz"; 41 color = <LED_COLOR_ID_ 41 color = <LED_COLOR_ID_WHITE>; 42 gpios = <&gpio0 14 GPI 42 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 43 }; 43 }; 44 44 45 led-5ghz-1 { 45 led-5ghz-1 { 46 function = "5ghz-1"; 46 function = "5ghz-1"; 47 color = <LED_COLOR_ID_ 47 color = <LED_COLOR_ID_WHITE>; 48 gpios = <&gpio0 15 GPI 48 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; 49 }; 49 }; 50 50 51 led-5ghz-2 { 51 led-5ghz-2 { 52 function = "5ghz-2"; 52 function = "5ghz-2"; 53 color = <LED_COLOR_ID_ 53 color = <LED_COLOR_ID_WHITE>; 54 gpios = <&gpio0 16 GPI 54 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; 55 }; 55 }; 56 56 57 led-usb2 { 57 led-usb2 { 58 function = "usb2"; 58 function = "usb2"; 59 color = <LED_COLOR_ID_ 59 color = <LED_COLOR_ID_WHITE>; 60 gpios = <&gpio0 17 GPI 60 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 61 trigger-sources = <&oh 61 trigger-sources = <&ohci_port1>, <&ehci_port1>; 62 linux,default-trigger 62 linux,default-trigger = "usbport"; 63 }; 63 }; 64 64 65 led-usb3 { 65 led-usb3 { 66 function = "usb3"; 66 function = "usb3"; 67 color = <LED_COLOR_ID_ 67 color = <LED_COLOR_ID_WHITE>; 68 gpios = <&gpio0 18 GPI 68 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 69 trigger-sources = <&oh 69 trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>; 70 linux,default-trigger 70 linux,default-trigger = "usbport"; 71 }; 71 }; 72 72 73 led-wifi { 73 led-wifi { 74 function = "wifi"; 74 function = "wifi"; 75 color = <LED_COLOR_ID_ 75 color = <LED_COLOR_ID_WHITE>; 76 gpios = <&gpio0 56 GPI 76 gpios = <&gpio0 56 GPIO_ACTIVE_LOW>; 77 }; 77 }; 78 }; 78 }; 79 }; 79 }; 80 80 81 &enet { 81 &enet { 82 nvmem-cells = <&base_mac_addr>; 82 nvmem-cells = <&base_mac_addr>; 83 nvmem-cell-names = "mac-address"; 83 nvmem-cell-names = "mac-address"; 84 }; 84 }; 85 85 86 &usb_phy { 86 &usb_phy { 87 brcm,ioc = <1>; 87 brcm,ioc = <1>; 88 status = "okay"; 88 status = "okay"; 89 }; 89 }; 90 90 91 &ehci { 91 &ehci { 92 status = "okay"; 92 status = "okay"; 93 }; 93 }; 94 94 95 &ohci { 95 &ohci { 96 status = "okay"; 96 status = "okay"; 97 }; 97 }; 98 98 99 &xhci { 99 &xhci { 100 status = "okay"; 100 status = "okay"; 101 }; 101 }; 102 102 103 &ports { 103 &ports { 104 port@0 { 104 port@0 { 105 label = "lan4"; 105 label = "lan4"; 106 }; 106 }; 107 107 108 port@1 { 108 port@1 { 109 label = "lan3"; 109 label = "lan3"; 110 }; 110 }; 111 111 112 port@2 { 112 port@2 { 113 label = "lan2"; 113 label = "lan2"; 114 }; 114 }; 115 115 116 port@3 { 116 port@3 { 117 label = "lan1"; 117 label = "lan1"; 118 }; 118 }; 119 119 120 port@7 { 120 port@7 { 121 reg = <7>; 121 reg = <7>; 122 phy-mode = "internal"; 122 phy-mode = "internal"; 123 phy-handle = <&phy12>; 123 phy-handle = <&phy12>; 124 label = "wan"; 124 label = "wan"; 125 }; 125 }; 126 }; 126 }; 127 127 128 &nand_controller { 128 &nand_controller { 129 brcm,wp-not-connected; 129 brcm,wp-not-connected; 130 status = "okay"; 130 status = "okay"; 131 }; 131 }; 132 132 133 &nandcs { 133 &nandcs { 134 nand-ecc-strength = <4>; 134 nand-ecc-strength = <4>; 135 nand-ecc-step-size = <512>; 135 nand-ecc-step-size = <512>; 136 nand-on-flash-bbt; 136 nand-on-flash-bbt; 137 137 138 #address-cells = <1>; 138 #address-cells = <1>; 139 #size-cells = <0>; 139 #size-cells = <0>; 140 140 141 partitions { 141 partitions { 142 compatible = "fixed-partitions 142 compatible = "fixed-partitions"; 143 #address-cells = <1>; 143 #address-cells = <1>; 144 #size-cells = <1>; 144 #size-cells = <1>; 145 145 146 partition@0 { 146 partition@0 { 147 compatible = "nvmem-ce 147 compatible = "nvmem-cells"; 148 label = "cferom"; 148 label = "cferom"; 149 reg = <0x0 0x100000>; 149 reg = <0x0 0x100000>; 150 150 151 #address-cells = <1>; 151 #address-cells = <1>; 152 #size-cells = <1>; 152 #size-cells = <1>; 153 ranges = <0 0x0 0x1000 153 ranges = <0 0x0 0x100000>; 154 154 155 base_mac_addr: mac@106 155 base_mac_addr: mac@106a0 { 156 reg = <0x106a0 156 reg = <0x106a0 0x6>; 157 }; 157 }; 158 }; 158 }; 159 159 160 partition@100000 { 160 partition@100000 { 161 compatible = "brcm,bcm 161 compatible = "brcm,bcm4908-firmware"; 162 label = "firmware"; 162 label = "firmware"; 163 reg = <0x100000 0x4400 163 reg = <0x100000 0x4400000>; 164 }; 164 }; 165 }; 165 }; 166 }; 166 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.