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