Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 3 | #include "kirkwood.dtsi" |
| 4 | #include "kirkwood-6281.dtsi" |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "Iomega Iconnect"; |
Andrew Lunn | 7784350 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 8 | compatible = "iom,iconnect-1.1", "iom,iconnect", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x10000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
Arnaud Patard (Rtp) | 2eecb47 | 2012-08-05 22:39:13 +0200 | [diff] [blame] | 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 17 | stdout-path = &uart0; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 18 | linux,initrd-start = <0x4500040>; |
| 19 | linux,initrd-end = <0x4800000>; |
| 20 | }; |
| 21 | |
Ezequiel Garcia | 54397d8 | 2013-07-26 10:18:05 -0300 | [diff] [blame] | 22 | mbus { |
Ezequiel Garcia | 54397d8 | 2013-07-26 10:18:05 -0300 | [diff] [blame] | 23 | pcie-controller { |
| 24 | status = "okay"; |
| 25 | |
| 26 | pcie@1,0 { |
| 27 | status = "okay"; |
| 28 | }; |
| 29 | }; |
| 30 | }; |
| 31 | |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 32 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 33 | pinctrl: pin-controller@10000 { |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 34 | pmx_button_reset: pmx-button-reset { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 35 | marvell,pins = "mpp12"; |
| 36 | marvell,function = "gpio"; |
| 37 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 38 | pmx_button_otb: pmx-button-otb { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 39 | marvell,pins = "mpp35"; |
| 40 | marvell,function = "gpio"; |
| 41 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 42 | pmx_led_level: pmx-led-level { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 43 | marvell,pins = "mpp41"; |
| 44 | marvell,function = "gpio"; |
| 45 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 46 | pmx_led_power_blue: pmx-led-power-blue { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 47 | marvell,pins = "mpp42"; |
| 48 | marvell,function = "gpio"; |
| 49 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 50 | pmx_led_power_red: pmx-power-red { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 51 | marvell,pins = "mpp43"; |
| 52 | marvell,function = "gpio"; |
| 53 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 54 | pmx_led_usb1: pmx-led-usb1 { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 55 | marvell,pins = "mpp44"; |
| 56 | marvell,function = "gpio"; |
| 57 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 58 | pmx_led_usb2: pmx-led-usb2 { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 59 | marvell,pins = "mpp45"; |
| 60 | marvell,function = "gpio"; |
| 61 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 62 | pmx_led_usb3: pmx-led-usb3 { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 63 | marvell,pins = "mpp46"; |
| 64 | marvell,function = "gpio"; |
| 65 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 66 | pmx_led_usb4: pmx-led-usb4 { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 67 | marvell,pins = "mpp47"; |
| 68 | marvell,function = "gpio"; |
| 69 | }; |
Thomas Petazzoni | 40eb441 | 2013-05-24 11:44:45 +0200 | [diff] [blame] | 70 | pmx_led_otb: pmx-led-otb { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 71 | marvell,pins = "mpp48"; |
| 72 | marvell,function = "gpio"; |
| 73 | }; |
| 74 | }; |
Andrew Lunn | 48135a6 | 2012-07-16 12:54:58 +0200 | [diff] [blame] | 75 | i2c@11000 { |
| 76 | status = "okay"; |
| 77 | |
| 78 | lm63: lm63@4c { |
| 79 | compatible = "national,lm63"; |
| 80 | reg = <0x4c>; |
| 81 | }; |
| 82 | }; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 83 | serial@12000 { |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 84 | status = "ok"; |
| 85 | }; |
| 86 | }; |
Arnaud Patard (Rtp) | 2eecb47 | 2012-08-05 22:39:13 +0200 | [diff] [blame] | 87 | |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 88 | gpio-leds { |
| 89 | compatible = "gpio-leds"; |
Thomas Petazzoni | edd2718 | 2013-05-24 11:44:46 +0200 | [diff] [blame] | 90 | pinctrl-0 = < &pmx_led_level &pmx_led_power_blue |
| 91 | &pmx_led_power_red &pmx_led_usb1 |
| 92 | &pmx_led_usb2 &pmx_led_usb3 |
| 93 | &pmx_led_usb4 &pmx_led_otb >; |
| 94 | pinctrl-names = "default"; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 95 | |
| 96 | led-level { |
| 97 | label = "led_level"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 98 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
Jason Cooper | dcdf14c | 2013-10-14 17:37:55 +0000 | [diff] [blame] | 99 | default-state = "on"; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 100 | }; |
| 101 | power-blue { |
| 102 | label = "power:blue"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 103 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
Jason Cooper | dcdf14c | 2013-10-14 17:37:55 +0000 | [diff] [blame] | 104 | default-state = "keep"; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 105 | }; |
Arnaud Patard (Rtp) | 03810a2 | 2012-08-05 22:35:56 +0200 | [diff] [blame] | 106 | power-red { |
| 107 | label = "power:red"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 108 | gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; |
Arnaud Patard (Rtp) | 03810a2 | 2012-08-05 22:35:56 +0200 | [diff] [blame] | 109 | }; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 110 | usb1 { |
| 111 | label = "usb1:blue"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 112 | gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 113 | }; |
| 114 | usb2 { |
| 115 | label = "usb2:blue"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 116 | gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 117 | }; |
| 118 | usb3 { |
| 119 | label = "usb3:blue"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 120 | gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 121 | }; |
| 122 | usb4 { |
| 123 | label = "usb4:blue"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 124 | gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 125 | }; |
| 126 | otb { |
| 127 | label = "otb:blue"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 128 | gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 129 | }; |
| 130 | }; |
Arnaud Patard (Rtp) | 17ba022 | 2012-08-05 22:39:12 +0200 | [diff] [blame] | 131 | |
| 132 | gpio_keys { |
| 133 | compatible = "gpio-keys"; |
| 134 | #address-cells = <1>; |
| 135 | #size-cells = <0>; |
Thomas Petazzoni | edd2718 | 2013-05-24 11:44:46 +0200 | [diff] [blame] | 136 | pinctrl-0 = < &pmx_button_reset &pmx_button_otb >; |
| 137 | pinctrl-names = "default"; |
| 138 | |
Arnaud Patard (Rtp) | 17ba022 | 2012-08-05 22:39:12 +0200 | [diff] [blame] | 139 | button@1 { |
| 140 | label = "OTB Button"; |
Andrew Lunn | 2330119 | 2013-12-04 16:51:38 +0100 | [diff] [blame] | 141 | linux,code = <KEY_COPY>; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 142 | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; |
Arnaud Patard (Rtp) | 17ba022 | 2012-08-05 22:39:12 +0200 | [diff] [blame] | 143 | debounce-interval = <100>; |
| 144 | }; |
| 145 | button@2 { |
| 146 | label = "Reset"; |
Andrew Lunn | 2330119 | 2013-12-04 16:51:38 +0100 | [diff] [blame] | 147 | linux,code = <KEY_RESTART>; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 148 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
Arnaud Patard (Rtp) | 17ba022 | 2012-08-05 22:39:12 +0200 | [diff] [blame] | 149 | debounce-interval = <100>; |
| 150 | }; |
| 151 | }; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 152 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 153 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 154 | &nand { |
| 155 | status = "okay"; |
| 156 | |
| 157 | partition@0 { |
| 158 | label = "uboot"; |
| 159 | reg = <0x0000000 0xc0000>; |
| 160 | }; |
| 161 | |
| 162 | partition@a0000 { |
| 163 | label = "env"; |
| 164 | reg = <0xa0000 0x20000>; |
| 165 | }; |
| 166 | |
| 167 | partition@100000 { |
| 168 | label = "zImage"; |
| 169 | reg = <0x100000 0x300000>; |
| 170 | }; |
| 171 | |
| 172 | partition@540000 { |
| 173 | label = "initrd"; |
| 174 | reg = <0x540000 0x300000>; |
| 175 | }; |
| 176 | |
| 177 | partition@980000 { |
| 178 | label = "boot"; |
| 179 | reg = <0x980000 0x1f400000>; |
| 180 | }; |
| 181 | }; |
| 182 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 183 | &mdio { |
| 184 | status = "okay"; |
| 185 | |
| 186 | ethphy0: ethernet-phy@11 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 187 | reg = <11>; |
| 188 | }; |
| 189 | }; |
| 190 | |
| 191 | ð0 { |
| 192 | status = "okay"; |
| 193 | ethernet0-port@0 { |
| 194 | phy-handle = <ðphy0>; |
| 195 | }; |
| 196 | }; |