1 /* 1 /* 2 * Broadcom BCM470X / BCM5301X arm platform co 2 * Broadcom BCM470X / BCM5301X arm platform code. 3 * DTS for Netgear R6250 V1 3 * DTS for Netgear R6250 V1 4 * 4 * 5 * Copyright 2013 Hauke Mehrtens <hauke@hauke-m 5 * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de> 6 * 6 * 7 * Licensed under the GNU/GPL. See COPYING for 7 * Licensed under the GNU/GPL. See COPYING for details. 8 */ 8 */ 9 9 10 /dts-v1/; 10 /dts-v1/; 11 11 12 #include "bcm4708.dtsi" 12 #include "bcm4708.dtsi" 13 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include "bcm5301x-nand-cs0-bch8.dtsi" 14 14 15 / { 15 / { 16 compatible = "netgear,r6250-v1", "brcm 16 compatible = "netgear,r6250-v1", "brcm,bcm4708"; 17 model = "Netgear R6250 V1 (BCM4708)"; 17 model = "Netgear R6250 V1 (BCM4708)"; 18 18 19 chosen { 19 chosen { 20 bootargs = "console=ttyS0,1152 20 bootargs = "console=ttyS0,115200 earlycon"; 21 }; 21 }; 22 22 23 memory@0 { 23 memory@0 { 24 device_type = "memory"; 24 device_type = "memory"; 25 reg = <0x00000000 0x08000000>, 25 reg = <0x00000000 0x08000000>, 26 <0x88000000 0x08000000>; 26 <0x88000000 0x08000000>; 27 }; 27 }; 28 28 29 leds { 29 leds { 30 compatible = "gpio-leds"; 30 compatible = "gpio-leds"; 31 31 32 led-logo { 32 led-logo { 33 label = "bcm53xx:white 33 label = "bcm53xx:white:logo"; 34 gpios = <&chipcommon 1 34 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; 35 linux,default-trigger 35 linux,default-trigger = "default-on"; 36 }; 36 }; 37 37 38 led-power0 { 38 led-power0 { 39 label = "bcm53xx:green 39 label = "bcm53xx:green:power"; 40 gpios = <&chipcommon 2 40 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 41 linux,default-trigger 41 linux,default-trigger = "default-on"; 42 }; 42 }; 43 43 44 led-power1 { 44 led-power1 { 45 label = "bcm53xx:amber 45 label = "bcm53xx:amber:power"; 46 gpios = <&chipcommon 3 46 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 47 }; 47 }; 48 48 49 led-usb { 49 led-usb { 50 label = "bcm53xx:blue: 50 label = "bcm53xx:blue:usb"; 51 gpios = <&chipcommon 8 51 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; 52 trigger-sources = <&oh 52 trigger-sources = <&ohci_port1>, <&ehci_port1>, 53 <&xh 53 <&xhci_port1>; 54 linux,default-trigger 54 linux,default-trigger = "usbport"; 55 }; 55 }; 56 56 57 led-wireless { 57 led-wireless { 58 label = "bcm53xx:blue: 58 label = "bcm53xx:blue:wireless"; 59 gpios = <&chipcommon 1 59 gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; 60 }; 60 }; 61 }; 61 }; 62 62 63 gpio-keys { 63 gpio-keys { 64 compatible = "gpio-keys"; 64 compatible = "gpio-keys"; 65 65 66 button-wps { 66 button-wps { 67 label = "WPS"; 67 label = "WPS"; 68 linux,code = <KEY_WPS_ 68 linux,code = <KEY_WPS_BUTTON>; 69 gpios = <&chipcommon 4 69 gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; 70 }; 70 }; 71 71 72 button-rfkill { 72 button-rfkill { 73 label = "WiFi"; 73 label = "WiFi"; 74 linux,code = <KEY_RFKI 74 linux,code = <KEY_RFKILL>; 75 gpios = <&chipcommon 5 75 gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; 76 }; 76 }; 77 77 78 button-restart { 78 button-restart { 79 label = "Reset"; 79 label = "Reset"; 80 linux,code = <KEY_REST 80 linux,code = <KEY_RESTART>; 81 gpios = <&chipcommon 6 81 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; 82 }; 82 }; 83 }; 83 }; 84 }; 84 }; 85 85 86 &usb3 { 86 &usb3 { 87 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_ 87 vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>; 88 }; 88 }; 89 89 90 &spi_nor { 90 &spi_nor { 91 status = "okay"; 91 status = "okay"; 92 }; 92 }; 93 93 94 &usb3_phy { 94 &usb3_phy { 95 status = "okay"; 95 status = "okay"; 96 }; 96 }; 97 97 98 &srab { 98 &srab { 99 status = "okay"; 99 status = "okay"; 100 100 101 ports { 101 ports { 102 port@0 { 102 port@0 { 103 label = "lan4"; 103 label = "lan4"; 104 }; 104 }; 105 105 106 port@1 { 106 port@1 { 107 label = "lan3"; 107 label = "lan3"; 108 }; 108 }; 109 109 110 port@2 { 110 port@2 { 111 label = "lan2"; 111 label = "lan2"; 112 }; 112 }; 113 113 114 port@3 { 114 port@3 { 115 label = "lan1"; 115 label = "lan1"; 116 }; 116 }; 117 117 118 port@4 { 118 port@4 { 119 label = "wan"; 119 label = "wan"; 120 }; 120 }; 121 121 122 port@5 { 122 port@5 { 123 label = "cpu"; 123 label = "cpu"; 124 }; 124 }; 125 125 126 port@7 { 126 port@7 { 127 status = "disabled"; 127 status = "disabled"; 128 }; 128 }; 129 129 130 port@8 { 130 port@8 { 131 status = "disabled"; 131 status = "disabled"; 132 }; 132 }; 133 }; 133 }; 134 }; 134 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.