Valentin Longchamp | 0510c8a | 2012-09-04 11:55:02 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 3 | #include "kirkwood.dtsi" |
| 4 | #include "kirkwood-98dx4122.dtsi" |
Valentin Longchamp | 0510c8a | 2012-09-04 11:55:02 +0200 | [diff] [blame] | 5 | |
| 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 Longchamp | 9891b3f | 2012-11-17 17:00:56 +0100 | [diff] [blame] | 20 | pinctrl: pinctrl@10000 { |
Thomas Petazzoni | 06dbf3e | 2013-05-24 11:44:49 +0200 | [diff] [blame] | 21 | pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >; |
Valentin Longchamp | 9891b3f | 2012-11-17 17:00:56 +0100 | [diff] [blame] | 22 | 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 Longchamp | 0510c8a | 2012-09-04 11:55:02 +0200 | [diff] [blame] | 34 | serial@12000 { |
Valentin Longchamp | 0510c8a | 2012-09-04 11:55:02 +0200 | [diff] [blame] | 35 | status = "ok"; |
| 36 | }; |
Valentin Longchamp | 0510c8a | 2012-09-04 11:55:02 +0200 | [diff] [blame] | 37 | }; |
Valentin Longchamp | e45498c | 2013-05-27 17:55:26 +0200 | [diff] [blame] | 38 | |
| 39 | i2c@0 { |
| 40 | compatible = "i2c-gpio"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 41 | gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */ |
| 42 | &gpio0 9 GPIO_ACTIVE_HIGH>; /* scl */ |
Valentin Longchamp | e45498c | 2013-05-27 17:55:26 +0200 | [diff] [blame] | 43 | i2c-gpio,delay-us = <2>; /* ~100 kHz */ |
| 44 | }; |
Valentin Longchamp | 0510c8a | 2012-09-04 11:55:02 +0200 | [diff] [blame] | 45 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 46 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 47 | &nand { |
| 48 | pinctrl-0 = <&pmx_nand>; |
| 49 | pinctrl-names = "default"; |
| 50 | status = "ok"; |
| 51 | chip-delay = <25>; |
| 52 | }; |
| 53 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 54 | &mdio { |
| 55 | status = "okay"; |
| 56 | |
| 57 | ethphy0: ethernet-phy@0 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 58 | reg = <0>; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | ð0 { |
| 63 | status = "okay"; |
| 64 | ethernet0-port@0 { |
| 65 | phy-handle = <ðphy0>; |
| 66 | }; |
| 67 | }; |