Chris Packham | 36bf28d | 2018-05-17 21:46:01 +1200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include "kirkwood.dtsi" |
| 5 | #include "kirkwood-98dx4122.dtsi" |
| 6 | #include "kirkwood-km_common.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "Keymile Kirkwood Reference Design"; |
| 10 | compatible = "keymile,km_kirkwood", "marvell,kirkwood-98DX4122", "marvell,kirkwood"; |
| 11 | |
| 12 | memory { |
| 13 | device_type = "memory"; |
| 14 | reg = <0x00000000 0x08000000>; |
| 15 | }; |
Pascal Linder | 670bd93 | 2019-06-18 08:41:03 +0200 | [diff] [blame] | 16 | |
| 17 | aliases { |
| 18 | spi0 = &spi0; |
| 19 | }; |
Chris Packham | 36bf28d | 2018-05-17 21:46:01 +1200 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | &mdio { |
| 23 | status = "okay"; |
| 24 | |
| 25 | ethphy0: ethernet-phy@0 { |
| 26 | reg = <0>; |
| 27 | }; |
| 28 | }; |
| 29 | |
| 30 | ð0 { |
| 31 | status = "okay"; |
| 32 | ethernet0-port@0 { |
| 33 | phy-handle = <ðphy0>; |
| 34 | }; |
| 35 | }; |
Pascal Linder | 670bd93 | 2019-06-18 08:41:03 +0200 | [diff] [blame] | 36 | |
| 37 | &spi0 { |
| 38 | status = "okay"; |
| 39 | |
| 40 | flash@0 { |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <1>; |
| 43 | compatible = "st,m25p80", "jedec,spi-nor", "spi-flash"; |
| 44 | reg = <0>; |
| 45 | spi-max-frequency = <33000000>; |
| 46 | mode = <3>; |
| 47 | |
| 48 | partition@uboot { |
| 49 | reg = <0x000000 0x0c0000>; |
| 50 | label = "uboot"; |
| 51 | }; |
| 52 | }; |
| 53 | }; |