Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [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" |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "MPL CEC4"; |
| 8 | compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x20000000>; |
| 13 | }; |
| 14 | |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 17 | stdout-path = &uart0; |
| 18 | }; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 19 | |
Ezequiel Garcia | 54397d8 | 2013-07-26 10:18:05 -0300 | [diff] [blame] | 20 | mbus { |
Ezequiel Garcia | 54397d8 | 2013-07-26 10:18:05 -0300 | [diff] [blame] | 21 | pcie-controller { |
| 22 | status = "okay"; |
| 23 | |
| 24 | pcie@1,0 { |
| 25 | status = "okay"; |
| 26 | }; |
| 27 | }; |
| 28 | }; |
| 29 | |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 30 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 31 | pinctrl: pin-controller@10000 { |
Stefan Peter | de64ee5 | 2012-11-19 16:00:02 +0100 | [diff] [blame] | 32 | pmx_led_health: pmx-led-health { |
| 33 | marvell,pins = "mpp7"; |
| 34 | marvell,function = "gpo"; |
| 35 | }; |
| 36 | |
| 37 | pmx_sata1: pmx-sata1 { |
| 38 | marvell,pins = "mpp34"; |
| 39 | marvell,function = "sata1"; |
| 40 | }; |
| 41 | |
| 42 | pmx_sata0: pmx-sata0 { |
| 43 | marvell,pins = "mpp35"; |
| 44 | marvell,function = "sata0"; |
| 45 | }; |
| 46 | |
| 47 | pmx_led_user1o: pmx-led-user1o { |
| 48 | marvell,pins = "mpp40"; |
| 49 | marvell,function = "gpio"; |
| 50 | }; |
| 51 | |
| 52 | pmx_led_user1g: pmx-led-user1g { |
| 53 | marvell,pins = "mpp41"; |
| 54 | marvell,function = "gpio"; |
| 55 | }; |
| 56 | |
| 57 | pmx_led_user0o: pmx-led-user0o { |
| 58 | marvell,pins = "mpp44"; |
| 59 | marvell,function = "gpio"; |
| 60 | }; |
| 61 | |
| 62 | pmx_led_user0g: pmx-led-user0g { |
| 63 | marvell,pins = "mpp45"; |
| 64 | marvell,function = "gpio"; |
| 65 | }; |
| 66 | |
| 67 | pmx_led_misc: pmx-led-misc { |
| 68 | marvell,pins = "mpp46"; |
| 69 | marvell,function = "gpio"; |
| 70 | }; |
| 71 | |
| 72 | pmx_sdio_cd: pmx-sdio-cd { |
| 73 | marvell,pins = "mpp47"; |
| 74 | marvell,function = "gpio"; |
| 75 | }; |
| 76 | }; |
| 77 | |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 78 | i2c@11000 { |
| 79 | status = "okay"; |
| 80 | |
| 81 | rtc@51 { |
| 82 | compatible = "nxp,pcf8563"; |
| 83 | reg = <0x51>; |
| 84 | }; |
| 85 | |
| 86 | eeprom@57 { |
| 87 | compatible = "atmel,24c02"; |
| 88 | reg = <0x57>; |
| 89 | }; |
| 90 | |
| 91 | }; |
| 92 | |
Sebastian Hesselbarth | 9f2339a | 2014-04-30 14:56:36 +0200 | [diff] [blame] | 93 | serial@12000 { |
| 94 | status = "okay"; |
| 95 | }; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 96 | |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 97 | rtc@10300 { |
| 98 | status = "disabled"; |
| 99 | }; |
| 100 | |
| 101 | sata@80000 { |
Thomas Petazzoni | 3740e68 | 2013-05-24 11:44:51 +0200 | [diff] [blame] | 102 | pinctrl-0 = <&pmx_sata0 &pmx_sata1>; |
| 103 | pinctrl-names = "default"; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 104 | nr-ports = <2>; |
| 105 | status = "okay"; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 106 | }; |
Thomas Petazzoni | 5dd8a01 | 2012-12-21 15:49:12 +0100 | [diff] [blame] | 107 | |
| 108 | mvsdio@90000 { |
| 109 | pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>; |
| 110 | pinctrl-names = "default"; |
| 111 | status = "okay"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 112 | cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
Thomas Petazzoni | 5dd8a01 | 2012-12-21 15:49:12 +0100 | [diff] [blame] | 113 | /* No WP GPIO */ |
| 114 | }; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 115 | }; |
| 116 | |
| 117 | gpio-leds { |
| 118 | compatible = "gpio-leds"; |
Thomas Petazzoni | 3740e68 | 2013-05-24 11:44:51 +0200 | [diff] [blame] | 119 | pinctrl-0 = < &pmx_led_health |
| 120 | &pmx_led_user1o |
| 121 | &pmx_led_user1g &pmx_led_user0o |
| 122 | &pmx_led_user0g &pmx_led_misc |
| 123 | >; |
| 124 | pinctrl-names = "default"; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 125 | |
| 126 | health { |
| 127 | label = "status:green:health"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 128 | gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 129 | }; |
| 130 | |
| 131 | user1o { |
| 132 | label = "user1:orange"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 133 | gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 134 | default-state = "on"; |
| 135 | }; |
| 136 | |
| 137 | user1g { |
| 138 | label = "user1:green"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 139 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 140 | default-state = "on"; |
| 141 | }; |
| 142 | |
| 143 | user0o { |
| 144 | label = "user0:orange"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 145 | gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 146 | default-state = "on"; |
| 147 | }; |
| 148 | |
| 149 | user0g { |
| 150 | label = "user0:green"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 151 | gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 152 | default-state = "on"; |
| 153 | }; |
| 154 | |
| 155 | misc { |
| 156 | label = "status:orange:misc"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 157 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
Stefan Peter | 5492a11 | 2012-11-18 16:46:16 +0100 | [diff] [blame] | 158 | default-state = "on"; |
| 159 | }; |
| 160 | |
| 161 | }; |
| 162 | }; |
| 163 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 164 | &nand { |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 165 | status = "okay"; |
| 166 | |
| 167 | partition@0 { |
| 168 | label = "uboot"; |
| 169 | reg = <0x0000000 0x100000>; |
| 170 | }; |
| 171 | |
| 172 | partition@100000 { |
| 173 | label = "env"; |
| 174 | reg = <0x100000 0x80000>; |
| 175 | }; |
| 176 | |
| 177 | partition@180000 { |
| 178 | label = "fdt"; |
| 179 | reg = <0x180000 0x80000>; |
| 180 | }; |
| 181 | |
| 182 | partition@200000 { |
| 183 | label = "kernel"; |
| 184 | reg = <0x200000 0x400000>; |
| 185 | }; |
| 186 | |
| 187 | partition@600000 { |
| 188 | label = "rootfs"; |
| 189 | reg = <0x600000 0x1fa00000>; |
| 190 | }; |
| 191 | }; |
| 192 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 193 | &mdio { |
| 194 | status = "okay"; |
| 195 | |
| 196 | ethphy0: ethernet-phy@1 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 197 | reg = <1>; |
| 198 | }; |
| 199 | |
| 200 | ethphy1: ethernet-phy@2 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 201 | reg = <2>; |
| 202 | }; |
| 203 | }; |
| 204 | |
| 205 | ð0 { |
| 206 | status = "okay"; |
| 207 | ethernet0-port@0 { |
| 208 | phy-handle = <ðphy0>; |
| 209 | }; |
| 210 | }; |
| 211 | |
| 212 | ð1 { |
| 213 | status = "okay"; |
| 214 | ethernet1-port@0 { |
| 215 | phy-handle = <ðphy1>; |
| 216 | }; |
| 217 | }; |