1 // SPDX-License-Identifier: GPL-2.0-or-later O 2 /* 3 * Author: Arınç ÜNAL <arinc.unal@arinc9.com 4 */ 5 6 #include "bcm47094.dtsi" 7 #include "bcm5301x-nand-cs0-bch8.dtsi" 8 9 #include <dt-bindings/leds/common.h> 10 11 / { 12 memory@0 { 13 reg = <0x00000000 0x08000000>, 14 <0x88000000 0x18000000>; 15 device_type = "memory"; 16 }; 17 18 nvram@1c080000 { 19 compatible = "brcm,nvram"; 20 reg = <0x1c080000 0x00180000>; 21 }; 22 23 gpio-keys { 24 compatible = "gpio-keys"; 25 26 button-led { 27 label = "Backlight"; 28 linux,code = <KEY_BRIG 29 gpios = <&chipcommon 4 30 }; 31 32 button-reset { 33 label = "Reset"; 34 linux,code = <KEY_REST 35 gpios = <&chipcommon 1 36 }; 37 38 button-wifi { 39 label = "Wi-Fi"; 40 linux,code = <KEY_RFKI 41 gpios = <&chipcommon 1 42 }; 43 44 button-wps { 45 label = "WPS"; 46 linux,code = <KEY_WPS_ 47 gpios = <&chipcommon 2 48 }; 49 }; 50 51 leds { 52 compatible = "gpio-leds"; 53 54 led-lan { 55 color = <LED_COLOR_ID_ 56 function = LED_FUNCTIO 57 gpios = <&chipcommon 2 58 }; 59 60 led-power { 61 color = <LED_COLOR_ID_ 62 function = LED_FUNCTIO 63 gpios = <&chipcommon 3 64 linux,default-trigger 65 }; 66 67 led-usb2 { 68 color = <LED_COLOR_ID_ 69 function = LED_FUNCTIO 70 function-enumerator = 71 gpios = <&chipcommon 1 72 trigger-sources = <&eh 73 linux,default-trigger 74 }; 75 76 led-usb3 { 77 color = <LED_COLOR_ID_ 78 function = LED_FUNCTIO 79 function-enumerator = 80 gpios = <&chipcommon 1 81 trigger-sources = <&eh 82 linux,default-trigger 83 }; 84 85 led-wan-red { 86 color = <LED_COLOR_ID_ 87 function = LED_FUNCTIO 88 gpios = <&chipcommon 5 89 }; 90 91 led-wps { 92 color = <LED_COLOR_ID_ 93 function = LED_FUNCTIO 94 gpios = <&chipcommon 1 95 }; 96 }; 97 }; 98 99 &nandcs { 100 partitions { 101 compatible = "fixed-partitions 102 #address-cells = <1>; 103 #size-cells = <1>; 104 105 partition@0 { 106 reg = <0x00000000 0x00 107 label = "boot"; 108 read-only; 109 }; 110 111 partition@80000 { 112 reg = <0x00080000 0x00 113 label = "nvram"; 114 }; 115 116 partition@200000 { 117 compatible = "brcm,trx 118 reg = <0x00200000 0x07 119 label = "firmware"; 120 }; 121 }; 122 }; 123 124 &srab { 125 status = "okay"; 126 127 ports { 128 port@0 { 129 label = "lan4"; 130 }; 131 132 port@1 { 133 label = "lan3"; 134 }; 135 136 port@2 { 137 label = "lan2"; 138 }; 139 140 port@3 { 141 label = "lan1"; 142 }; 143 144 port@4 { 145 label = "wan"; 146 }; 147 148 port@5 { 149 label = "cpu"; 150 }; 151 152 port@7 { 153 label = "cpu"; 154 }; 155 156 port@8 { 157 label = "cpu"; 158 }; 159 }; 160 }; 161 162 &usb2 { 163 vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_ 164 }; 165 166 &usb3_phy { 167 status = "okay"; 168 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.