Chris Packham | 87a62bc | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include "kirkwood.dtsi" |
| 5 | #include "kirkwood-6281.dtsi" |
| 6 | |
| 7 | / { |
| 8 | model = "Allied Telesis SBx81LIFKW Board"; |
| 9 | compatible = "atl,SBx81LIFKW", "marvell,kirkwood-88f6281", |
| 10 | "marvell,kirkwood"; |
| 11 | |
| 12 | memory { |
| 13 | device_type = "memory"; |
| 14 | reg = <0x00000000 0x08000000>; /* 128 MB */ |
| 15 | }; |
| 16 | |
| 17 | chosen { |
| 18 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 19 | stdout-path = &uart0; |
| 20 | }; |
| 21 | |
| 22 | aliases { |
| 23 | ethernet0 = ð0; |
| 24 | i2c0 = &i2c0; |
| 25 | spi0 = &spi0; |
| 26 | }; |
| 27 | |
| 28 | dsa { |
| 29 | compatible = "marvell,dsa"; |
| 30 | #address-cells = <2>; |
| 31 | #size-cells = <0>; |
| 32 | dsa,ethernet = <ð0>; |
| 33 | dsa,mii-bus = <&mdio>; |
| 34 | status = "okay"; |
| 35 | |
| 36 | switch@0 { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | reg = <1 0>; |
| 40 | |
| 41 | port@0 { |
| 42 | reg = <0>; |
| 43 | label = "internal0"; |
| 44 | }; |
| 45 | port@1 { |
| 46 | reg = <1>; |
| 47 | label = "internal1"; |
| 48 | }; |
| 49 | port@8 { |
| 50 | reg = <8>; |
| 51 | label = "internal8"; |
| 52 | phy-mode = "rgmii-id"; |
| 53 | fixed-link { |
| 54 | speed = <1000>; |
| 55 | full-duplex; |
| 56 | }; |
| 57 | }; |
| 58 | port@9 { |
| 59 | reg = <9>; |
| 60 | label = "internal9"; |
| 61 | phy-mode = "rgmii-id"; |
| 62 | fixed-link { |
| 63 | speed = <1000>; |
| 64 | full-duplex; |
| 65 | }; |
| 66 | }; |
| 67 | port@10 { |
| 68 | reg = <10>; |
| 69 | label = "cpu"; |
| 70 | }; |
| 71 | }; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &spi0 { |
| 76 | status = "okay"; |
| 77 | |
| 78 | flash@0 { |
| 79 | #address-cells = <1>; |
| 80 | #size-cells = <1>; |
Neil Armstrong | ffd4c7c | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 81 | compatible = "st,m25p128", "jedec,spi-nor"; |
Chris Packham | 87a62bc | 2018-05-30 20:14:35 +1200 | [diff] [blame] | 82 | reg = <0>; |
| 83 | spi-max-frequency = <50000000>; |
| 84 | mode = <0>; |
| 85 | |
| 86 | partition@u-boot { |
| 87 | reg = <0x00000000 0x00c00000>; |
| 88 | label = "u-boot"; |
| 89 | }; |
| 90 | partition@u-boot-env { |
| 91 | reg = <0x00c00000 0x00040000>; |
| 92 | label = "u-boot-env"; |
| 93 | }; |
| 94 | partition@unused { |
| 95 | reg = <0x00100000 0x00f00000>; |
| 96 | label = "unused"; |
| 97 | }; |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | &i2c0 { |
| 102 | status = "okay"; |
| 103 | |
| 104 | eeprom@52 { |
| 105 | compatible = "atmel,24c04"; |
| 106 | reg = <0x52>; |
| 107 | }; |
| 108 | }; |
| 109 | |
| 110 | &uart0 { |
| 111 | status = "okay"; |
| 112 | }; |
| 113 | |
| 114 | &mdio { |
| 115 | status = "okay"; |
| 116 | }; |
| 117 | |
| 118 | ð0 { |
| 119 | status = "okay"; |
| 120 | |
| 121 | ethernet0-port@0 { |
| 122 | speed = <1000>; |
| 123 | duplex = <1>; |
| 124 | }; |
| 125 | }; |
| 126 | |
| 127 | &pciec { |
| 128 | status = "okay"; |
| 129 | }; |
| 130 | |
| 131 | &pcie0 { |
| 132 | status = "okay"; |
| 133 | }; |