2012-11-18 08:46:16 -07:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-07-26 07:18:02 -06:00
|
|
|
#include "kirkwood.dtsi"
|
|
|
|
#include "kirkwood-6281.dtsi"
|
2012-11-18 08:46:16 -07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "MPL CEC4";
|
|
|
|
compatible = "mpl,cec4-10", "mpl,cec4", "marvell,kirkwood-88f6281", "marvell,kirkwood";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x20000000>;
|
|
|
|
};
|
|
|
|
|
2014-04-30 06:56:30 -06:00
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
|
|
stdout-path = &uart0;
|
|
|
|
};
|
2012-11-18 08:46:16 -07:00
|
|
|
|
|
|
|
ocp@f1000000 {
|
2014-04-30 06:56:32 -06:00
|
|
|
pinctrl: pin-controller@10000 {
|
2012-11-19 08:00:02 -07:00
|
|
|
pmx_led_health: pmx-led-health {
|
|
|
|
marvell,pins = "mpp7";
|
|
|
|
marvell,function = "gpo";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_sata1: pmx-sata1 {
|
|
|
|
marvell,pins = "mpp34";
|
|
|
|
marvell,function = "sata1";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_sata0: pmx-sata0 {
|
|
|
|
marvell,pins = "mpp35";
|
|
|
|
marvell,function = "sata0";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_user1o: pmx-led-user1o {
|
|
|
|
marvell,pins = "mpp40";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_user1g: pmx-led-user1g {
|
|
|
|
marvell,pins = "mpp41";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_user0o: pmx-led-user0o {
|
|
|
|
marvell,pins = "mpp44";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_user0g: pmx-led-user0g {
|
|
|
|
marvell,pins = "mpp45";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_led_misc: pmx-led-misc {
|
|
|
|
marvell,pins = "mpp46";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
|
|
|
|
pmx_sdio_cd: pmx-sdio-cd {
|
|
|
|
marvell,pins = "mpp47";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-11-18 08:46:16 -07:00
|
|
|
i2c@11000 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
rtc@51 {
|
|
|
|
compatible = "nxp,pcf8563";
|
|
|
|
reg = <0x51>;
|
|
|
|
};
|
|
|
|
|
|
|
|
eeprom@57 {
|
|
|
|
compatible = "atmel,24c02";
|
|
|
|
reg = <0x57>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2014-04-30 06:56:36 -06:00
|
|
|
serial@12000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-11-18 08:46:16 -07:00
|
|
|
|
|
|
|
rtc@10300 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
sata@80000 {
|
2013-05-24 03:44:51 -06:00
|
|
|
pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
|
|
|
|
pinctrl-names = "default";
|
2012-11-18 08:46:16 -07:00
|
|
|
nr-ports = <2>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2012-12-21 07:49:12 -07:00
|
|
|
|
|
|
|
mvsdio@90000 {
|
|
|
|
pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "okay";
|
2013-12-04 08:51:39 -07:00
|
|
|
cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
2012-12-21 07:49:12 -07:00
|
|
|
/* No WP GPIO */
|
|
|
|
};
|
2012-11-18 08:46:16 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
2013-05-24 03:44:51 -06:00
|
|
|
pinctrl-0 = < &pmx_led_health
|
|
|
|
&pmx_led_user1o
|
|
|
|
&pmx_led_user1g &pmx_led_user0o
|
|
|
|
&pmx_led_user0g &pmx_led_misc
|
|
|
|
>;
|
|
|
|
pinctrl-names = "default";
|
2012-11-18 08:46:16 -07:00
|
|
|
|
|
|
|
health {
|
|
|
|
label = "status:green:health";
|
2013-12-04 08:51:39 -07:00
|
|
|
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
2012-11-18 08:46:16 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
user1o {
|
|
|
|
label = "user1:orange";
|
2013-12-04 08:51:39 -07:00
|
|
|
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
|
2012-11-18 08:46:16 -07:00
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
user1g {
|
|
|
|
label = "user1:green";
|
2013-12-04 08:51:39 -07:00
|
|
|
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
|
2012-11-18 08:46:16 -07:00
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
user0o {
|
|
|
|
label = "user0:orange";
|
2013-12-04 08:51:39 -07:00
|
|
|
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
2012-11-18 08:46:16 -07:00
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
user0g {
|
|
|
|
label = "user0:green";
|
2013-12-04 08:51:39 -07:00
|
|
|
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
|
2012-11-18 08:46:16 -07:00
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
misc {
|
|
|
|
label = "status:orange:misc";
|
2013-12-04 08:51:39 -07:00
|
|
|
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
|
2012-11-18 08:46:16 -07:00
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-09-17 12:44:33 -06:00
|
|
|
&nand {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "uboot";
|
|
|
|
reg = <0x0000000 0x100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@100000 {
|
|
|
|
label = "env";
|
|
|
|
reg = <0x100000 0x80000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@180000 {
|
|
|
|
label = "fdt";
|
|
|
|
reg = <0x180000 0x80000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@200000 {
|
|
|
|
label = "kernel";
|
|
|
|
reg = <0x200000 0x400000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@600000 {
|
|
|
|
label = "rootfs";
|
|
|
|
reg = <0x600000 0x1fa00000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-07-07 14:34:56 -06:00
|
|
|
&mdio {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ethphy0: ethernet-phy@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ethphy1: ethernet-phy@2 {
|
|
|
|
reg = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
|
|
|
ethernet0-port@0 {
|
|
|
|
phy-handle = <ðphy0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð1 {
|
|
|
|
status = "okay";
|
|
|
|
ethernet1-port@0 {
|
|
|
|
phy-handle = <ðphy1>;
|
|
|
|
};
|
|
|
|
};
|
2016-04-02 20:03:47 -06:00
|
|
|
|
|
|
|
&pciec {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|