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