2 * Device Tree file for OpenBlocks AX3-4 board
4 * Copyright (C) 2012 Marvell
6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPL or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
13 * a) This file is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of the
16 * License, or (at your option) any later version.
18 * This file is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 * b) Permission is hereby granted, free of charge, to any person
26 * obtaining a copy of this software and associated documentation
27 * files (the "Software"), to deal in the Software without
28 * restriction, including without limitation the rights to use,
29 * copy, modify, merge, publish, distribute, sublicense, and/or
30 * sell copies of the Software, and to permit persons to whom the
31 * Software is furnished to do so, subject to the following
34 * The above copyright notice and this permission notice shall be
35 * included in all copies or substantial portions of the Software.
37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 * OTHER DEALINGS IN THE SOFTWARE.
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include "armada-xp-mv78260.dtsi"
53 model = "PlatHome OpenBlocks AX3-4 board";
54 compatible = "plathome,openblocks-ax3-4", "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
57 stdout-path = "serial0:115200n8";
61 device_type = "memory";
62 reg = <0 0x00000000 0 0x40000000>; /* 1 GB soldered on */
66 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
67 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
68 MBUS_ID(0x01, 0x2f) 0 0 0xe8000000 0x8000000
69 MBUS_ID(0x09, 0x09) 0 0 0xf1100000 0x10000
70 MBUS_ID(0x09, 0x05) 0 0 0xf1110000 0x10000
71 MBUS_ID(0x0c, 0x04) 0 0 0xd1200000 0x100000>;
76 /* Device Bus parameters are required */
79 devbus,bus-width = <16>;
80 devbus,turn-off-ps = <60000>;
81 devbus,badr-skew-ps = <0>;
82 devbus,acc-first-ps = <124000>;
83 devbus,acc-next-ps = <248000>;
84 devbus,rd-setup-ps = <0>;
85 devbus,rd-hold-ps = <0>;
87 /* Write parameters */
88 devbus,sync-enable = <0>;
89 devbus,wr-high-ps = <60000>;
90 devbus,wr-low-ps = <60000>;
91 devbus,ale-wr-ps = <60000>;
95 compatible = "cfi-flash";
103 /* No crystal connected to the internal RTC */
114 compatible = "gpio-leds";
115 pinctrl-names = "default";
116 pinctrl-0 = <&led_pins>;
120 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
121 default-state = "off";
125 label = "yellow_led";
126 gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
127 default-state = "off";
132 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
133 default-state = "keep";
138 compatible = "gpio-keys";
139 #address-cells = <1>;
143 label = "Init Button";
144 linux,code = <KEY_POWER>;
145 gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
153 buffer-manager = <&bm>;
160 buffer-manager = <&bm>;
167 buffer-manager = <&bm>;
174 buffer-manager = <&bm>;
179 clock-frequency = <400000>;
183 clock-frequency = <400000>;
185 s35390a: s35390a@30 {
186 compatible = "s35390a";
195 /* Front side USB 0 */
200 /* Front side USB 1 */
218 /* Internal mini-PCIe connector */
226 phy0: ethernet-phy@0 {
230 phy1: ethernet-phy@1 {
234 phy2: ethernet-phy@2 {
238 phy3: ethernet-phy@3 {
244 led_pins: led-pins-0 {
245 marvell,pins = "mpp49", "mpp51", "mpp53";
246 marvell,function = "gpio";