| 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "amazonse.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "DGN1000B - Netgear DGN1000B"; |
| 7 | |
| 8 | chosen { |
| 9 | bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; |
| 10 | }; |
| 11 | |
| 12 | memory@0 { |
| 13 | reg = <0x0 0x1000000>; |
| 14 | }; |
| 15 | |
| 16 | fpi@10000000 { |
| 17 | gpio: pinmux@E100B10 { |
| 18 | pinctrl-names = "default"; |
| 19 | pinctrl-0 = <&state_default>; |
| 20 | |
| 21 | state_default: pinmux { |
| 22 | spi { |
| 23 | lantiq,groups = "spi", "spi_cs1"; |
| 24 | lantiq,function = "spi"; |
| 25 | }; |
| 26 | asc { |
| 27 | lantiq,groups = "asc"; |
| 28 | lantiq,function = "asc"; |
| 29 | }; |
| 30 | keys_in { |
| 31 | lantiq,pins = "io0",/* "io25", */"io29"; |
| 32 | lantiq,pull = <2>; |
| 33 | lantiq,open-drain = <1>; |
| 34 | }; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | etop@E180000 { |
| 39 | phy-mode = "mii"; |
| 40 | mac-address = [ 00 11 22 33 44 55 ]; |
| 41 | }; |
| 42 | |
| 43 | spi@E100800 { |
| 44 | m25p80@0 { |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <1>; |
| 47 | compatible = "mx25l3205d"; |
| 48 | reg = <0 0>; |
| 49 | linux,modalias = "m25p80", "mx25l64"; |
| 50 | spi-max-frequency = <5000000>; |
| 51 | |
| 52 | partition@0 { |
| 53 | reg = <0x0 0x20000>; |
| 54 | label = "SPI (RO) U-Boot Image"; |
| 55 | read-only; |
| 56 | }; |
| 57 | |
| 58 | partition@20000 { |
| 59 | reg = <0x20000 0x10000>; |
| 60 | label = "ENV_MAC"; |
| 61 | read-only; |
| 62 | }; |
| 63 | |
| 64 | partition@30000 { |
| 65 | reg = <0x30000 0x10000>; |
| 66 | label = "DPF"; |
| 67 | read-only; |
| 68 | }; |
| 69 | |
| 70 | partition@40000 { |
| 71 | reg = <0x40000 0x10000>; |
| 72 | label = "NVRAM"; |
| 73 | read-only; |
| 74 | }; |
| 75 | |
| 76 | partition@500000 { |
| 77 | reg = <0x50000 0x003a0000>; |
| 78 | label = "kernel"; |
| 79 | }; |
| 80 | }; |
| 81 | }; |
| 82 | ifxhcd@E101000 { |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | gpio-keys-polled { |
| 88 | compatible = "gpio-keys-polled"; |
| 89 | #address-cells = <1>; |
| 90 | #size-cells = <0>; |
| 91 | poll-interval = <100>; |
| 92 | |
| 93 | reset { |
| 94 | label = "reset"; |
| 95 | gpios = <&gpio 0 1>; |
| 96 | linux,code = <0x198>; |
| 97 | }; |
| 98 | rfkill { |
| 99 | label = "rfkill"; |
| 100 | gpios = <&gpio 25 1>; |
| 101 | linux,code = <0xf7>; |
| 102 | }; |
| 103 | wps { |
| 104 | label = "wps"; |
| 105 | gpios = <&gpio 29 1>; |
| 106 | linux,code = <0x211>; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | gpio-leds { |
| 111 | cmpatible = "gpio-leds"; |
| 112 | dsl { |
| 113 | label = "dsl"; |
| 114 | gpios = <&gpio 1 1>; |
| 115 | default-state = "on"; |
| 116 | }; |
| 117 | online { |
| 118 | label = "online"; |
| 119 | gpios = <&gpio 2 1>; |
| 120 | default-state = "on"; |
| 121 | }; |
| 122 | online2 { |
| 123 | label = "online2"; |
| 124 | gpios = <&gpio 3 1>; |
| 125 | default-state = "on"; |
| 126 | }; |
| 127 | wps { |
| 128 | label = "wps"; |
| 129 | gpios = <&gpio 4 1>; |
| 130 | default-state = "on"; |
| 131 | }; |
| 132 | power { |
| 133 | label = "power"; |
| 134 | gpios = <&gpio 13 1>; |
| 135 | default-state = "on"; |
| 136 | }; |
| 137 | }; |
| 138 | }; |
| 139 | |