blob: 04a1e44541b34b302a1e86100dd13a169e60c440 [file] [log] [blame]
Valentin Longchamp0510c8a2012-09-04 11:55:02 +02001/dts-v1/;
2
Ezequiel Garcia0ab61292013-07-26 10:18:02 -03003#include "kirkwood.dtsi"
4#include "kirkwood-98dx4122.dtsi"
Valentin Longchamp0510c8a2012-09-04 11:55:02 +02005
6/ {
7 model = "Keymile Kirkwood Reference Design";
8 compatible = "keymile,km_kirkwood", "marvell,kirkwood-98DX4122", "marvell,kirkwood";
9
10 memory {
11 device_type = "memory";
12 reg = <0x00000000 0x08000000>;
13 };
14
15 chosen {
16 bootargs = "console=ttyS0,115200n8 earlyprintk";
17 };
18
19 ocp@f1000000 {
Valentin Longchamp9891b3f2012-11-17 17:00:56 +010020 pinctrl: pinctrl@10000 {
Thomas Petazzoni06dbf3e2013-05-24 11:44:49 +020021 pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >;
Valentin Longchamp9891b3f2012-11-17 17:00:56 +010022 pinctrl-names = "default";
23
24 pmx_i2c_gpio_sda: pmx-gpio-sda {
25 marvell,pins = "mpp8";
26 marvell,function = "gpio";
27 };
28 pmx_i2c_gpio_scl: pmx-gpio-scl {
29 marvell,pins = "mpp9";
30 marvell,function = "gpio";
31 };
32 };
33
Valentin Longchamp0510c8a2012-09-04 11:55:02 +020034 serial@12000 {
Valentin Longchamp0510c8a2012-09-04 11:55:02 +020035 status = "ok";
36 };
Valentin Longchamp0510c8a2012-09-04 11:55:02 +020037 };
Valentin Longchampe45498c2013-05-27 17:55:26 +020038
39 i2c@0 {
40 compatible = "i2c-gpio";
Andrew Lunn3a31f2d72013-12-04 16:51:39 +010041 gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */
42 &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */
Valentin Longchampe45498c2013-05-27 17:55:26 +020043 i2c-gpio,delay-us = <2>; /* ~100 kHz */
44 };
Valentin Longchamp0510c8a2012-09-04 11:55:02 +020045};
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020046
Jason Gunthorpe7045ff52013-09-17 12:44:33 -060047&nand {
48 pinctrl-0 = <&pmx_nand>;
49 pinctrl-names = "default";
50 status = "ok";
51 chip-delay = <25>;
52};
53
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020054&mdio {
55 status = "okay";
56
57 ethphy0: ethernet-phy@0 {
Sebastian Hesselbarth876e2332013-07-07 22:34:56 +020058 reg = <0>;
59 };
60};
61
62&eth0 {
63 status = "okay";
64 ethernet0-port@0 {
65 phy-handle = <&ethphy0>;
66 };
67};