| 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "ar9.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "FRITZ7320 - 1&1 HomeServer"; |
| 7 | |
| 8 | chosen { |
| 9 | bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; |
| 10 | }; |
| 11 | |
| 12 | memory@0 { |
| 13 | reg = <0x0 0x4000000>; |
| 14 | }; |
| 15 | |
| 16 | fpi@10000000 { |
| 17 | localbus@0 { |
| 18 | nor-boot@0 { |
| 19 | compatible = "lantiq,nor"; |
| 20 | bank-width = <2>; |
| 21 | reg = <0 0x0 0x800000>; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <1>; |
| 24 | |
| 25 | partition@0 { |
| 26 | label = "urlader"; |
| 27 | reg = <0x00000 0x20000>; |
| 28 | read-only; |
| 29 | }; |
| 30 | |
| 31 | partition@20000 { |
| 32 | label = "linux"; |
| 33 | reg = <0x20000 0xf60000>; |
| 34 | }; |
| 35 | |
| 36 | partition@f80000 { |
| 37 | label = "tffs (1)"; |
| 38 | reg = <0xf80000 0x40000>; |
| 39 | read-only; |
| 40 | }; |
| 41 | |
| 42 | partition@fc0000 { |
| 43 | label = "tffs (2)"; |
| 44 | reg = <0xfc0000 0x40000>; |
| 45 | read-only; |
| 46 | }; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | gpio: pinmux@E100B10 { |
| 51 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&state_default>; |
| 53 | |
| 54 | state_default: pinmux { |
| 55 | pci { |
| 56 | lantiq,groups = "gnt1", "req1", "req2", "req3", "req4", "gnt2", "gnt3", "gnt4"; |
| 57 | lantiq,function = "pci"; |
| 58 | }; |
| 59 | pci-in { |
| 60 | lantiq,groups = "req1", "req2", "req3", "req4"; |
| 61 | lantiq,output = <0>; |
| 62 | lantiq,open-drain = <1>; |
| 63 | lantiq,pull = <2>; |
| 64 | }; |
| 65 | pci-out { |
| 66 | lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4"; |
| 67 | lantiq,output = <1>; |
| 68 | lantiq,pull = <0>; |
| 69 | }; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | etop@E180000 { |
| 74 | phy-mode = "mii"; |
| 75 | mac-address = [ 00 11 22 33 44 55 ]; |
| 76 | }; |
| 77 | |
| 78 | ifxhcd@E101000 { |
| 79 | status = "okay"; |
| 80 | }; |
| 81 | |
| 82 | pci@E105400 { |
| 83 | status = "okay"; |
| 84 | req-mask = <0xf>; |
| 85 | lantiq,bus-clock = <33333333>; |
| 86 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
| 87 | interrupt-map = <0x7000 0 0 1 &icu0 30 1>; |
| 88 | gpio-reset = <&gpio 21 0>; |
| 89 | req-mask = <0xf>; /* GNT1 */ |
| 90 | }; |
| 91 | }; |
| 92 | |
| 93 | gpio-keys-polled { |
| 94 | compatible = "gpio-keys-polled"; |
| 95 | #address-cells = <1>; |
| 96 | #size-cells = <0>; |
| 97 | poll-interval = <100>; |
| 98 | |
| 99 | rfkill { |
| 100 | label = "rfkill"; |
| 101 | gpios = <&gpio 1 1>; |
| 102 | linux,code = <0xf7>; |
| 103 | }; |
| 104 | dect { |
| 105 | label = "dect"; |
| 106 | gpios = <&gpio 2 1>; |
| 107 | linux,code = <0x102>; |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | gpio-leds { |
| 112 | compatible = "gpio-leds"; |
| 113 | power { |
| 114 | label = "power"; |
| 115 | gpios = <&gpio 44 1>; |
| 116 | }; |
| 117 | voice { |
| 118 | label = "voice"; |
| 119 | gpios = <&gpio 47 1>; |
| 120 | }; |
| 121 | dect { |
| 122 | label = "dect"; |
| 123 | gpios = <&gpio 38 1>; |
| 124 | }; |
| 125 | wlan { |
| 126 | label = "wlan"; |
| 127 | gpios = <&gpio 37 1>; |
| 128 | }; |
| 129 | online { |
| 130 | label = "online"; |
| 131 | gpios = <&gpio 35 1>; |
| 132 | }; |
| 133 | online2 { |
| 134 | label = "online2"; |
| 135 | gpios = <&gpio 45 1>; |
| 136 | }; |
| 137 | }; |
| 138 | }; |
| 139 | |