Commit | Line | Data |
---|---|---|
19b85c08 TP |
1 | /* |
2 | * Device Tree file for OpenBlocks AX3-4 board | |
3 | * | |
4 | * Copyright (C) 2012 Marvell | |
5 | * | |
6 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | |
7 | * | |
8 | * This file is licensed under the terms of the GNU General Public | |
9 | * License version 2. This program is licensed "as is" without any | |
10 | * warranty of any kind, whether express or implied. | |
11 | */ | |
12 | ||
13 | /dts-v1/; | |
14 | /include/ "armada-xp-mv78260.dtsi" | |
15 | ||
16 | / { | |
17 | model = "PlatHome OpenBlocks AX3-4 board"; | |
18 | compatible = "plathome,openblocks-ax3-4", "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp"; | |
19 | ||
20 | chosen { | |
21 | bootargs = "console=ttyS0,115200 earlyprintk"; | |
22 | }; | |
23 | ||
24 | memory { | |
25 | device_type = "memory"; | |
26 | reg = <0x00000000 0xC0000000>; /* 3 GB */ | |
27 | }; | |
28 | ||
29 | soc { | |
30 | serial@d0012000 { | |
31 | clock-frequency = <250000000>; | |
32 | status = "okay"; | |
33 | }; | |
34 | serial@d0012100 { | |
35 | clock-frequency = <250000000>; | |
36 | status = "okay"; | |
37 | }; | |
38 | pinctrl { | |
39 | led_pins: led-pins-0 { | |
40 | marvell,pins = "mpp49", "mpp51", "mpp53"; | |
41 | marvell,function = "gpio"; | |
42 | }; | |
43 | }; | |
44 | leds { | |
45 | compatible = "gpio-leds"; | |
46 | pinctrl-names = "default"; | |
47 | pinctrl-0 = <&led_pins>; | |
48 | ||
49 | red_led { | |
50 | label = "red_led"; | |
51 | gpios = <&gpio1 17 1>; | |
52 | default-state = "off"; | |
53 | }; | |
54 | ||
55 | yellow_led { | |
56 | label = "yellow_led"; | |
57 | gpios = <&gpio1 19 1>; | |
58 | default-state = "off"; | |
59 | }; | |
60 | ||
61 | green_led { | |
62 | label = "green_led"; | |
63 | gpios = <&gpio1 21 1>; | |
64 | default-state = "off"; | |
65 | linux,default-trigger = "heartbeat"; | |
66 | }; | |
67 | }; | |
f69c92f4 TP |
68 | |
69 | mdio { | |
70 | phy0: ethernet-phy@0 { | |
71 | reg = <0>; | |
72 | }; | |
73 | ||
74 | phy1: ethernet-phy@1 { | |
75 | reg = <1>; | |
76 | }; | |
77 | ||
78 | phy2: ethernet-phy@2 { | |
79 | reg = <2>; | |
80 | }; | |
81 | ||
82 | phy3: ethernet-phy@3 { | |
83 | reg = <3>; | |
84 | }; | |
85 | }; | |
86 | ||
87 | ethernet@d0070000 { | |
f69c92f4 TP |
88 | status = "okay"; |
89 | phy = <&phy0>; | |
90 | phy-mode = "sgmii"; | |
91 | }; | |
92 | ethernet@d0074000 { | |
f69c92f4 TP |
93 | status = "okay"; |
94 | phy = <&phy1>; | |
95 | phy-mode = "sgmii"; | |
96 | }; | |
97 | ethernet@d0030000 { | |
f69c92f4 TP |
98 | status = "okay"; |
99 | phy = <&phy2>; | |
100 | phy-mode = "sgmii"; | |
101 | }; | |
102 | ethernet@d0034000 { | |
f69c92f4 TP |
103 | status = "okay"; |
104 | phy = <&phy3>; | |
105 | phy-mode = "sgmii"; | |
106 | }; | |
9eab21cf NI |
107 | i2c@d0011000 { |
108 | status = "okay"; | |
109 | clock-frequency = <400000>; | |
110 | }; | |
111 | i2c@d0011100 { | |
112 | status = "okay"; | |
113 | clock-frequency = <400000>; | |
14bedd4a NI |
114 | |
115 | s35390a: s35390a@30 { | |
116 | compatible = "s35390a"; | |
117 | reg = <0x30>; | |
118 | }; | |
9eab21cf | 119 | }; |
19b85c08 TP |
120 | }; |
121 | }; |