forked from Minki/linux
cbfaea96ac
There is only one valid pinctrl setting for NAND on Kirkwood. Now that we have the setting in the common SoC pinctrl, move it to the NAND controller node directly and remove it from the individual boards. While at it, also fix up status = "okay" to "ok" on one board's NAND node. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Link: https://lkml.kernel.org/r/1398862602-29595-12-git-send-email-sebastian.hesselbarth@gmail.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
67 lines
1.1 KiB
Plaintext
67 lines
1.1 KiB
Plaintext
/dts-v1/;
|
|
|
|
#include "kirkwood.dtsi"
|
|
#include "kirkwood-98dx4122.dtsi"
|
|
|
|
/ {
|
|
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";
|
|
stdout-path = &uart0;
|
|
};
|
|
|
|
ocp@f1000000 {
|
|
pinctrl: pin-controller@10000 {
|
|
pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >;
|
|
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";
|
|
};
|
|
};
|
|
|
|
serial@12000 {
|
|
status = "ok";
|
|
};
|
|
};
|
|
|
|
i2c@0 {
|
|
compatible = "i2c-gpio";
|
|
gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */
|
|
&gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
|
|
i2c-gpio,delay-us = <2>; /* ~100 kHz */
|
|
};
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
chip-delay = <25>;
|
|
};
|
|
|
|
&mdio {
|
|
status = "okay";
|
|
|
|
ethphy0: ethernet-phy@0 {
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
status = "okay";
|
|
ethernet0-port@0 {
|
|
phy-handle = <ðphy0>;
|
|
};
|
|
};
|