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 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.
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include "armada-xp-mv78260.dtsi"
19 model = "PlatHome OpenBlocks AX3-4 board";
20 compatible = "plathome,openblocks-ax3-4", "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
23 bootargs = "console=ttyS0,115200 earlyprintk";
27 device_type = "memory";
28 reg = <0 0x00000000 0 0x40000000>; /* 1 GB soldered on */
32 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
33 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
34 MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x8000000>;
39 /* Device Bus parameters are required */
42 devbus,bus-width = <16>;
43 devbus,turn-off-ps = <60000>;
44 devbus,badr-skew-ps = <0>;
45 devbus,acc-first-ps = <124000>;
46 devbus,acc-next-ps = <248000>;
47 devbus,rd-setup-ps = <0>;
48 devbus,rd-hold-ps = <0>;
50 /* Write parameters */
51 devbus,sync-enable = <0>;
52 devbus,wr-high-ps = <60000>;
53 devbus,wr-low-ps = <60000>;
54 devbus,ale-wr-ps = <60000>;
58 compatible = "cfi-flash";
66 /* Internal mini-PCIe connector */
81 led_pins: led-pins-0 {
82 marvell,pins = "mpp49", "mpp51", "mpp53";
83 marvell,function = "gpio";
87 compatible = "gpio-leds";
88 pinctrl-names = "default";
89 pinctrl-0 = <&led_pins>;
93 gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
94 default-state = "off";
99 gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
100 default-state = "off";
105 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
106 default-state = "keep";
111 compatible = "gpio-keys";
112 #address-cells = <1>;
116 label = "Init Button";
117 linux,code = <KEY_POWER>;
118 gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
123 phy0: ethernet-phy@0 {
127 phy1: ethernet-phy@1 {
131 phy2: ethernet-phy@2 {
135 phy3: ethernet-phy@3 {
162 clock-frequency = <400000>;
166 clock-frequency = <400000>;
168 s35390a: s35390a@30 {
169 compatible = "s35390a";
178 /* Front side USB 0 */
183 /* Front side USB 1 */