Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | /include/ "kirkwood.dtsi" |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame^] | 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 | |
| 21 | ocp@f1000000 { |
Andrew Lunn | 2601c25 | 2012-11-17 17:00:47 +0100 | [diff] [blame^] | 22 | pinctrl: pinctrl@10000 { |
| 23 | |
| 24 | pinctrl-0 = < &pmx_gpio_12 &pmx_gpio_35 |
| 25 | &pmx_gpio_41 &pmx_gpio_42 |
| 26 | &pmx_gpio_43 &pmx_gpio_44 |
| 27 | &pmx_gpio_45 &pmx_gpio_46 |
| 28 | &pmx_gpio_47 &pmx_gpio_48 >; |
| 29 | pinctrl-names = "default"; |
| 30 | |
| 31 | pmx_gpio_12: pmx-gpio-12 { |
| 32 | marvell,pins = "mpp12"; |
| 33 | marvell,function = "gpio"; |
| 34 | }; |
| 35 | pmx_gpio_35: pmx-gpio-35 { |
| 36 | marvell,pins = "mpp35"; |
| 37 | marvell,function = "gpio"; |
| 38 | }; |
| 39 | pmx_gpio_41: pmx-gpio-41 { |
| 40 | marvell,pins = "mpp41"; |
| 41 | marvell,function = "gpio"; |
| 42 | }; |
| 43 | pmx_gpio_42: pmx-gpio-42 { |
| 44 | marvell,pins = "mpp42"; |
| 45 | marvell,function = "gpio"; |
| 46 | }; |
| 47 | pmx_gpio_43: pmx-gpio-43 { |
| 48 | marvell,pins = "mpp43"; |
| 49 | marvell,function = "gpio"; |
| 50 | }; |
| 51 | pmx_gpio_44: pmx-gpio-44 { |
| 52 | marvell,pins = "mpp44"; |
| 53 | marvell,function = "gpio"; |
| 54 | }; |
| 55 | pmx_gpio_45: pmx-gpio-45 { |
| 56 | marvell,pins = "mpp45"; |
| 57 | marvell,function = "gpio"; |
| 58 | }; |
| 59 | pmx_gpio_46: pmx-gpio-46 { |
| 60 | marvell,pins = "mpp46"; |
| 61 | marvell,function = "gpio"; |
| 62 | }; |
| 63 | pmx_gpio_47: pmx-gpio-47 { |
| 64 | marvell,pins = "mpp47"; |
| 65 | marvell,function = "gpio"; |
| 66 | }; |
| 67 | pmx_gpio_48: pmx-gpio-48 { |
| 68 | marvell,pins = "mpp48"; |
| 69 | marvell,function = "gpio"; |
| 70 | }; |
| 71 | }; |
Andrew Lunn | 48135a6 | 2012-07-16 12:54:58 +0200 | [diff] [blame] | 72 | i2c@11000 { |
| 73 | status = "okay"; |
| 74 | |
| 75 | lm63: lm63@4c { |
| 76 | compatible = "national,lm63"; |
| 77 | reg = <0x4c>; |
| 78 | }; |
| 79 | }; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 80 | serial@12000 { |
| 81 | clock-frequency = <200000000>; |
| 82 | status = "ok"; |
| 83 | }; |
Arnaud Patard (Rtp) | 2eecb47 | 2012-08-05 22:39:13 +0200 | [diff] [blame] | 84 | |
| 85 | nand@3000000 { |
| 86 | status = "okay"; |
| 87 | |
| 88 | partition@0 { |
| 89 | label = "uboot"; |
| 90 | reg = <0x0000000 0xc0000>; |
| 91 | }; |
| 92 | |
| 93 | partition@a0000 { |
| 94 | label = "env"; |
| 95 | reg = <0xa0000 0x20000>; |
| 96 | }; |
| 97 | |
| 98 | partition@100000 { |
| 99 | label = "zImage"; |
| 100 | reg = <0x100000 0x300000>; |
| 101 | }; |
| 102 | |
| 103 | partition@540000 { |
| 104 | label = "initrd"; |
| 105 | reg = <0x540000 0x300000>; |
| 106 | }; |
| 107 | |
| 108 | partition@980000 { |
| 109 | label = "boot"; |
| 110 | reg = <0x980000 0x1f400000>; |
| 111 | }; |
| 112 | }; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 113 | }; |
Arnaud Patard (Rtp) | 2eecb47 | 2012-08-05 22:39:13 +0200 | [diff] [blame] | 114 | |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 115 | gpio-leds { |
| 116 | compatible = "gpio-leds"; |
| 117 | |
| 118 | led-level { |
| 119 | label = "led_level"; |
| 120 | gpios = <&gpio1 9 0>; |
| 121 | linux,default-trigger = "default-on"; |
| 122 | }; |
| 123 | power-blue { |
| 124 | label = "power:blue"; |
Arnaud Patard (Rtp) | 03810a2 | 2012-08-05 22:35:56 +0200 | [diff] [blame] | 125 | gpios = <&gpio1 10 0>; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 126 | linux,default-trigger = "timer"; |
| 127 | }; |
Arnaud Patard (Rtp) | 03810a2 | 2012-08-05 22:35:56 +0200 | [diff] [blame] | 128 | power-red { |
| 129 | label = "power:red"; |
| 130 | gpios = <&gpio1 11 0>; |
| 131 | }; |
Andrew Lunn | 258f367 | 2012-07-17 08:26:11 +0200 | [diff] [blame] | 132 | usb1 { |
| 133 | label = "usb1:blue"; |
| 134 | gpios = <&gpio1 12 0>; |
| 135 | }; |
| 136 | usb2 { |
| 137 | label = "usb2:blue"; |
| 138 | gpios = <&gpio1 13 0>; |
| 139 | }; |
| 140 | usb3 { |
| 141 | label = "usb3:blue"; |
| 142 | gpios = <&gpio1 14 0>; |
| 143 | }; |
| 144 | usb4 { |
| 145 | label = "usb4:blue"; |
| 146 | gpios = <&gpio1 15 0>; |
| 147 | }; |
| 148 | otb { |
| 149 | label = "otb:blue"; |
| 150 | gpios = <&gpio1 16 0>; |
| 151 | }; |
| 152 | }; |
Arnaud Patard (Rtp) | 17ba022 | 2012-08-05 22:39:12 +0200 | [diff] [blame] | 153 | |
| 154 | gpio_keys { |
| 155 | compatible = "gpio-keys"; |
| 156 | #address-cells = <1>; |
| 157 | #size-cells = <0>; |
| 158 | button@1 { |
| 159 | label = "OTB Button"; |
| 160 | linux,code = <133>; |
| 161 | gpios = <&gpio1 3 1>; |
| 162 | debounce-interval = <100>; |
| 163 | }; |
| 164 | button@2 { |
| 165 | label = "Reset"; |
| 166 | linux,code = <0x198>; |
| 167 | gpios = <&gpio0 12 1>; |
| 168 | debounce-interval = <100>; |
| 169 | }; |
| 170 | }; |
Arnaud Patard (Rtp) | c06cd9b | 2012-04-18 23:16:41 +0200 | [diff] [blame] | 171 | }; |