2012-09-04 17:55:02 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-07-26 21:18:02 +08:00
|
|
|
#include "kirkwood.dtsi"
|
|
|
|
#include "kirkwood-98dx4122.dtsi"
|
2012-09-04 17:55:02 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Keymile Kirkwood Reference Design";
|
|
|
|
compatible = "keymile,km_kirkwood", "marvell,kirkwood-98DX4122", "marvell,kirkwood";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x00000000 0x08000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
2014-04-30 20:56:30 +08:00
|
|
|
stdout-path = &uart0;
|
2012-09-04 17:55:02 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
ocp@f1000000 {
|
2014-04-30 20:56:32 +08:00
|
|
|
pinctrl: pin-controller@10000 {
|
2013-05-24 17:44:49 +08:00
|
|
|
pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >;
|
2012-11-18 00:00:56 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
pmx_i2c_gpio_sda: pmx-gpio-sda {
|
|
|
|
marvell,pins = "mpp8";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
pmx_i2c_gpio_scl: pmx-gpio-scl {
|
|
|
|
marvell,pins = "mpp9";
|
|
|
|
marvell,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-09-04 17:55:02 +08:00
|
|
|
serial@12000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
};
|
2013-05-27 23:55:26 +08:00
|
|
|
|
|
|
|
i2c@0 {
|
|
|
|
compatible = "i2c-gpio";
|
2013-12-04 23:51:39 +08:00
|
|
|
gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */
|
|
|
|
&gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
|
2013-05-27 23:55:26 +08:00
|
|
|
i2c-gpio,delay-us = <2>; /* ~100 kHz */
|
|
|
|
};
|
2012-09-04 17:55:02 +08:00
|
|
|
};
|
2013-07-08 04:34:56 +08:00
|
|
|
|
2013-09-18 02:44:33 +08:00
|
|
|
&nand {
|
2014-04-30 20:56:38 +08:00
|
|
|
status = "okay";
|
2013-09-18 02:44:33 +08:00
|
|
|
chip-delay = <25>;
|
|
|
|
};
|
|
|
|
|
2013-07-08 04:34:56 +08:00
|
|
|
&mdio {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
ethphy0: ethernet-phy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ð0 {
|
|
|
|
status = "okay";
|
|
|
|
ethernet0-port@0 {
|
|
|
|
phy-handle = <ðphy0>;
|
|
|
|
};
|
|
|
|
};
|