2 * Device Tree file for OpenBlocks A7 board
4 * Copyright (C) 2013 Free Electrons
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.
15 #include "kirkwood.dtsi"
16 #include "kirkwood-6282.dtsi"
19 model = "Plat'Home OpenBlocksA7";
20 compatible = "plathome,openblocks-a7", "marvell,kirkwood-88f6283", "marvell,kirkwood";
23 device_type = "memory";
24 reg = <0x00000000 0x40000000>; /* 1 GB */
28 bootargs = "console=ttyS0,115200n8 earlyprintk";
48 pinctrl-0 = <&pmx_twsi1>;
49 pinctrl-names = "default";
57 pinctrl: pin-controller@10000 {
58 pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header>;
59 pinctrl-names = "default";
61 pmx_uart0: pmx-uart0 {
62 marvell,pins = "mpp10", "mpp11", "mpp15",
64 marvell,function = "uart0";
67 pmx_uart1: pmx-uart1 {
68 marvell,pins = "mpp13", "mpp14", "mpp8",
70 marvell,function = "uart1";
73 pmx_sysrst: pmx-sysrst {
74 marvell,pins = "mpp6";
75 marvell,function = "sysrst";
78 pmx_dip_switches: pmx-dip-switches {
79 marvell,pins = "mpp44", "mpp45", "mpp46", "mpp47";
80 marvell,function = "gpio";
84 * Accessible on connector J202. The MPP
85 * listed below are pin 1-7, pin 8 is unused,
86 * pin 9 is external reset input and pin 10 is
89 pmx_gpio_header: pmx-gpio-header {
90 marvell,pins = "mpp17", "mpp7", "mpp29", "mpp28",
91 "mpp35", "mpp34", "mpp40";
92 marvell,function = "gpio";
95 pmx_gpio_init: pmx-init {
96 marvell,pins = "mpp38";
97 marvell,function = "gpio";
100 pmx_usb_oc: pmx-usb-oc {
101 marvell,pins = "mpp39";
102 marvell,function = "gpio";
106 marvell,pins = "mpp41", "mpp42", "mpp43";
107 marvell,function = "gpio";
113 compatible = "gpio-leds";
114 pinctrl-0 = <&pmx_leds>;
115 pinctrl-names = "default";
118 label = "obsa7:red:stat";
119 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
123 label = "obsa7:green:stat";
124 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
128 label = "obsa7:yellow:stat";
129 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
134 compatible = "gpio-keys";
135 pinctrl-0 = <&pmx_gpio_init>;
136 pinctrl-names = "default";
137 #address-cells = <1>;
141 label = "Init Button";
142 linux,code = <KEY_POWER>;
143 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
151 pinctrl-0 = <&pmx_nand>;
152 pinctrl-names = "default";
156 reg = <0x0 0x1c0000>;
161 reg = <0x1c0000 0x2c0000>;
166 reg = <0x480000 0x160000>;
171 reg = <0x5e0000 0x540000>;
176 reg = <0xb20000 0x3d40000>;
181 reg = <0x4860000 0xb7a0000>;
188 ethphy0: ethernet-phy@0 {
192 ethphy1: ethernet-phy@1 {
200 phy-handle = <ðphy0>;
207 phy-handle = <ðphy1>;