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"; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 17 | linux,initrd-start = <0x4500040>; |
| 18 | linux,initrd-end = <0x4800000>; |
| 19 | }; |
| 20 | |
Ezequiel Garcia | 54397d8 | 2013-07-26 10:18:05 -0300 | [diff] [blame^] | 21 | mbus { |
| 22 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>; |
| 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 { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame] | 33 | pinctrl: pinctrl@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 | }; |
Arnaud Patard (Rtp) | 2eecb47 | 2012-08-05 22:39:13 +0200 | [diff] [blame] | 86 | |
| 87 | nand@3000000 { |
| 88 | status = "okay"; |
| 89 | |
| 90 | partition@0 { |
| 91 | label = "uboot"; |
| 92 | reg = <0x0000000 0xc0000>; |
| 93 | }; |
| 94 | |
| 95 | partition@a0000 { |
| 96 | label = "env"; |
| 97 | reg = <0xa0000 0x20000>; |
| 98 | }; |
| 99 | |
| 100 | partition@100000 { |
| 101 | label = "zImage"; |
| 102 | reg = <0x100000 0x300000>; |
| 103 | }; |
| 104 | |
| 105 | partition@540000 { |
| 106 | label = "initrd"; |
| 107 | reg = <0x540000 0x300000>; |
| 108 | }; |
| 109 | |
| 110 | partition@980000 { |
| 111 | label = "boot"; |
| 112 | reg = <0x980000 0x1f400000>; |
| 113 | }; |
| 114 | }; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 115 | }; |
Arnaud Patard (Rtp) | 2eecb47 | 2012-08-05 22:39:13 +0200 | [diff] [blame] | 116 | |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 117 | gpio-leds { |
| 118 | compatible = "gpio-leds"; |
Thomas Petazzoni | edd2718 | 2013-05-24 11:44:46 +0200 | [diff] [blame] | 119 | pinctrl-0 = < &pmx_led_level &pmx_led_power_blue |
| 120 | &pmx_led_power_red &pmx_led_usb1 |
| 121 | &pmx_led_usb2 &pmx_led_usb3 |
| 122 | &pmx_led_usb4 &pmx_led_otb >; |
| 123 | pinctrl-names = "default"; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 124 | |
| 125 | led-level { |
| 126 | label = "led_level"; |
| 127 | gpios = <&gpio1 9 0>; |
| 128 | linux,default-trigger = "default-on"; |
| 129 | }; |
| 130 | power-blue { |
| 131 | label = "power:blue"; |
Arnaud Patard (Rtp) | 03810a2 | 2012-08-05 22:35:56 +0200 | [diff] [blame] | 132 | gpios = <&gpio1 10 0>; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 133 | linux,default-trigger = "timer"; |
| 134 | }; |
Arnaud Patard (Rtp) | 03810a2 | 2012-08-05 22:35:56 +0200 | [diff] [blame] | 135 | power-red { |
| 136 | label = "power:red"; |
| 137 | gpios = <&gpio1 11 0>; |
| 138 | }; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 139 | usb1 { |
| 140 | label = "usb1:blue"; |
| 141 | gpios = <&gpio1 12 0>; |
| 142 | }; |
| 143 | usb2 { |
| 144 | label = "usb2:blue"; |
| 145 | gpios = <&gpio1 13 0>; |
| 146 | }; |
| 147 | usb3 { |
| 148 | label = "usb3:blue"; |
| 149 | gpios = <&gpio1 14 0>; |
| 150 | }; |
| 151 | usb4 { |
| 152 | label = "usb4:blue"; |
| 153 | gpios = <&gpio1 15 0>; |
| 154 | }; |
| 155 | otb { |
| 156 | label = "otb:blue"; |
| 157 | gpios = <&gpio1 16 0>; |
| 158 | }; |
| 159 | }; |
Arnaud Patard (Rtp) | 17ba022 | 2012-08-05 22:39:12 +0200 | [diff] [blame] | 160 | |
| 161 | gpio_keys { |
| 162 | compatible = "gpio-keys"; |
| 163 | #address-cells = <1>; |
| 164 | #size-cells = <0>; |
Thomas Petazzoni | edd2718 | 2013-05-24 11:44:46 +0200 | [diff] [blame] | 165 | pinctrl-0 = < &pmx_button_reset &pmx_button_otb >; |
| 166 | pinctrl-names = "default"; |
| 167 | |
Arnaud Patard (Rtp) | 17ba022 | 2012-08-05 22:39:12 +0200 | [diff] [blame] | 168 | button@1 { |
| 169 | label = "OTB Button"; |
| 170 | linux,code = <133>; |
| 171 | gpios = <&gpio1 3 1>; |
| 172 | debounce-interval = <100>; |
| 173 | }; |
| 174 | button@2 { |
| 175 | label = "Reset"; |
| 176 | linux,code = <0x198>; |
| 177 | gpios = <&gpio0 12 1>; |
| 178 | debounce-interval = <100>; |
| 179 | }; |
| 180 | }; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 181 | }; |