1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring 4724ba675SRob Herring#include "kirkwood.dtsi" 5724ba675SRob Herring#include "kirkwood-6281.dtsi" 6724ba675SRob Herring 7724ba675SRob Herring/ { 8724ba675SRob Herring model = "MPL CEC4"; 9724ba675SRob Herring compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10724ba675SRob Herring 11724ba675SRob Herring memory { 12724ba675SRob Herring device_type = "memory"; 13724ba675SRob Herring reg = <0x00000000 0x20000000>; 14724ba675SRob Herring }; 15724ba675SRob Herring 16724ba675SRob Herring chosen { 17724ba675SRob Herring bootargs = "console=ttyS0,115200n8 earlyprintk"; 18724ba675SRob Herring stdout-path = &uart0; 19724ba675SRob Herring }; 20724ba675SRob Herring 21724ba675SRob Herring ocp@f1000000 { 22724ba675SRob Herring pinctrl: pin-controller@10000 { 23724ba675SRob Herring pmx_led_health: pmx-led-health { 24724ba675SRob Herring marvell,pins = "mpp7"; 25724ba675SRob Herring marvell,function = "gpo"; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring pmx_sata1: pmx-sata1 { 29724ba675SRob Herring marvell,pins = "mpp34"; 30724ba675SRob Herring marvell,function = "sata1"; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring pmx_sata0: pmx-sata0 { 34724ba675SRob Herring marvell,pins = "mpp35"; 35724ba675SRob Herring marvell,function = "sata0"; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring pmx_led_user1o: pmx-led-user1o { 39724ba675SRob Herring marvell,pins = "mpp40"; 40724ba675SRob Herring marvell,function = "gpio"; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring pmx_led_user1g: pmx-led-user1g { 44724ba675SRob Herring marvell,pins = "mpp41"; 45724ba675SRob Herring marvell,function = "gpio"; 46724ba675SRob Herring }; 47724ba675SRob Herring 48724ba675SRob Herring pmx_led_user0o: pmx-led-user0o { 49724ba675SRob Herring marvell,pins = "mpp44"; 50724ba675SRob Herring marvell,function = "gpio"; 51724ba675SRob Herring }; 52724ba675SRob Herring 53724ba675SRob Herring pmx_led_user0g: pmx-led-user0g { 54724ba675SRob Herring marvell,pins = "mpp45"; 55724ba675SRob Herring marvell,function = "gpio"; 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring pmx_led_misc: pmx-led-misc { 59724ba675SRob Herring marvell,pins = "mpp46"; 60724ba675SRob Herring marvell,function = "gpio"; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring pmx_sdio_cd: pmx-sdio-cd { 64724ba675SRob Herring marvell,pins = "mpp47"; 65724ba675SRob Herring marvell,function = "gpio"; 66724ba675SRob Herring }; 67724ba675SRob Herring }; 68724ba675SRob Herring 69724ba675SRob Herring i2c@11000 { 70724ba675SRob Herring status = "okay"; 71724ba675SRob Herring 72724ba675SRob Herring rtc@51 { 73724ba675SRob Herring compatible = "nxp,pcf8563"; 74724ba675SRob Herring reg = <0x51>; 75724ba675SRob Herring }; 76724ba675SRob Herring 77724ba675SRob Herring eeprom@57 { 78724ba675SRob Herring compatible = "atmel,24c02"; 79724ba675SRob Herring reg = <0x57>; 80724ba675SRob Herring }; 81724ba675SRob Herring 82724ba675SRob Herring }; 83724ba675SRob Herring 84724ba675SRob Herring serial@12000 { 85724ba675SRob Herring status = "okay"; 86724ba675SRob Herring }; 87724ba675SRob Herring 88724ba675SRob Herring rtc@10300 { 89724ba675SRob Herring status = "disabled"; 90724ba675SRob Herring }; 91724ba675SRob Herring 92724ba675SRob Herring sata@80000 { 93724ba675SRob Herring pinctrl-0 = <&pmx_sata0 &pmx_sata1>; 94724ba675SRob Herring pinctrl-names = "default"; 95724ba675SRob Herring nr-ports = <2>; 96724ba675SRob Herring status = "okay"; 97724ba675SRob Herring }; 98724ba675SRob Herring 99724ba675SRob Herring mvsdio@90000 { 100724ba675SRob Herring pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>; 101724ba675SRob Herring pinctrl-names = "default"; 102724ba675SRob Herring status = "okay"; 103724ba675SRob Herring cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 104724ba675SRob Herring /* No WP GPIO */ 105724ba675SRob Herring }; 106724ba675SRob Herring }; 107724ba675SRob Herring 108724ba675SRob Herring gpio-leds { 109724ba675SRob Herring compatible = "gpio-leds"; 110724ba675SRob Herring pinctrl-0 = < &pmx_led_health 111724ba675SRob Herring &pmx_led_user1o 112724ba675SRob Herring &pmx_led_user1g &pmx_led_user0o 113724ba675SRob Herring &pmx_led_user0g &pmx_led_misc 114724ba675SRob Herring >; 115724ba675SRob Herring pinctrl-names = "default"; 116724ba675SRob Herring 117*9d0120b7SKrzysztof Kozlowski led-health { 118724ba675SRob Herring label = "status:green:health"; 119724ba675SRob Herring gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 120724ba675SRob Herring }; 121724ba675SRob Herring 122*9d0120b7SKrzysztof Kozlowski led-user1o { 123724ba675SRob Herring label = "user1:orange"; 124724ba675SRob Herring gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; 125724ba675SRob Herring default-state = "on"; 126724ba675SRob Herring }; 127724ba675SRob Herring 128*9d0120b7SKrzysztof Kozlowski led-user1g { 129724ba675SRob Herring label = "user1:green"; 130724ba675SRob Herring gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 131724ba675SRob Herring default-state = "on"; 132724ba675SRob Herring }; 133724ba675SRob Herring 134*9d0120b7SKrzysztof Kozlowski led-user0o { 135724ba675SRob Herring label = "user0:orange"; 136724ba675SRob Herring gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 137724ba675SRob Herring default-state = "on"; 138724ba675SRob Herring }; 139724ba675SRob Herring 140*9d0120b7SKrzysztof Kozlowski led-user0g { 141724ba675SRob Herring label = "user0:green"; 142724ba675SRob Herring gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 143724ba675SRob Herring default-state = "on"; 144724ba675SRob Herring }; 145724ba675SRob Herring 146*9d0120b7SKrzysztof Kozlowski led-misc { 147724ba675SRob Herring label = "status:orange:misc"; 148724ba675SRob Herring gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 149724ba675SRob Herring default-state = "on"; 150724ba675SRob Herring }; 151724ba675SRob Herring 152724ba675SRob Herring }; 153724ba675SRob Herring}; 154724ba675SRob Herring 155724ba675SRob Herring&nand { 156724ba675SRob Herring status = "okay"; 157724ba675SRob Herring 158724ba675SRob Herring partition@0 { 159724ba675SRob Herring label = "uboot"; 160724ba675SRob Herring reg = <0x0000000 0x100000>; 161724ba675SRob Herring }; 162724ba675SRob Herring 163724ba675SRob Herring partition@100000 { 164724ba675SRob Herring label = "env"; 165724ba675SRob Herring reg = <0x100000 0x80000>; 166724ba675SRob Herring }; 167724ba675SRob Herring 168724ba675SRob Herring partition@180000 { 169724ba675SRob Herring label = "fdt"; 170724ba675SRob Herring reg = <0x180000 0x80000>; 171724ba675SRob Herring }; 172724ba675SRob Herring 173724ba675SRob Herring partition@200000 { 174724ba675SRob Herring label = "kernel"; 175724ba675SRob Herring reg = <0x200000 0x400000>; 176724ba675SRob Herring }; 177724ba675SRob Herring 178724ba675SRob Herring partition@600000 { 179724ba675SRob Herring label = "rootfs"; 180724ba675SRob Herring reg = <0x600000 0x1fa00000>; 181724ba675SRob Herring }; 182724ba675SRob Herring}; 183724ba675SRob Herring 184724ba675SRob Herring&mdio { 185724ba675SRob Herring status = "okay"; 186724ba675SRob Herring 187724ba675SRob Herring ethphy0: ethernet-phy@1 { 188724ba675SRob Herring reg = <1>; 189724ba675SRob Herring }; 190724ba675SRob Herring 191724ba675SRob Herring ethphy1: ethernet-phy@2 { 192724ba675SRob Herring reg = <2>; 193724ba675SRob Herring }; 194724ba675SRob Herring}; 195724ba675SRob Herring 196724ba675SRob Herringð0 { 197724ba675SRob Herring status = "okay"; 198724ba675SRob Herring ethernet0-port@0 { 199724ba675SRob Herring phy-handle = <ðphy0>; 200724ba675SRob Herring }; 201724ba675SRob Herring}; 202724ba675SRob Herring 203724ba675SRob Herringð1 { 204724ba675SRob Herring status = "okay"; 205724ba675SRob Herring ethernet1-port@0 { 206724ba675SRob Herring phy-handle = <ðphy1>; 207724ba675SRob Herring }; 208724ba675SRob Herring}; 209724ba675SRob Herring 210724ba675SRob Herring&pciec { 211724ba675SRob Herring status = "okay"; 212724ba675SRob Herring}; 213724ba675SRob Herring 214724ba675SRob Herring&pcie0 { 215724ba675SRob Herring status = "okay"; 216724ba675SRob Herring}; 217