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";
34 pinctrl-0 = <&pmx_uart0>;
35 pinctrl-names = "default";
40 pinctrl-0 = <&pmx_uart1>;
41 pinctrl-names = "default";
51 pinctrl-0 = <&pmx_twsi1>;
52 pinctrl-names = "default";
60 pinctrl: pinctrl@10000 {
61 pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header>;
62 pinctrl-names = "default";
64 pmx_uart0: pmx-uart0 {
65 marvell,pins = "mpp10", "mpp11", "mpp15",
67 marvell,function = "uart0";
70 pmx_uart1: pmx-uart1 {
71 marvell,pins = "mpp13", "mpp14", "mpp8",
73 marvell,function = "uart1";
76 pmx_sysrst: pmx-sysrst {
77 marvell,pins = "mpp6";
78 marvell,function = "sysrst";
81 pmx_dip_switches: pmx-dip-switches {
82 marvell,pins = "mpp44", "mpp45", "mpp46", "mpp47";
83 marvell,function = "gpio";
87 * Accessible on connector J202. The MPP
88 * listed below are pin 1-7, pin 8 is unused,
89 * pin 9 is external reset input and pin 10 is
92 pmx_gpio_header: pmx-gpio-header {
93 marvell,pins = "mpp17", "mpp7", "mpp29", "mpp28",
94 "mpp35", "mpp34", "mpp40";
95 marvell,function = "gpio";
98 pmx_gpio_init: pmx-init {
99 marvell,pins = "mpp38";
100 marvell,function = "gpio";
103 pmx_usb_oc: pmx-usb-oc {
104 marvell,pins = "mpp39";
105 marvell,function = "gpio";
109 marvell,pins = "mpp41", "mpp42", "mpp43";
110 marvell,function = "gpio";
114 marvell,pins = "mpp20", "mpp21", "mpp22", "mpp23",
115 "mpp24", "mpp25", "mpp26", "mpp27",
116 "mpp30", "mpp31", "mpp32", "mpp33";
117 marvell,function = "ge1";
123 compatible = "gpio-leds";
124 pinctrl-0 = <&pmx_leds>;
125 pinctrl-names = "default";
128 label = "obsa7:red:stat";
129 gpios = <&gpio1 9 1>;
133 label = "obsa7:green:stat";
134 gpios = <&gpio1 10 1>;
138 label = "obsa7:yellow:stat";
139 gpios = <&gpio1 11 1>;
144 compatible = "gpio-keys";
145 pinctrl-0 = <&pmx_gpio_init>;
146 pinctrl-names = "default";
147 #address-cells = <1>;
151 label = "Init Button";
153 gpios = <&gpio1 6 0>;
161 pinctrl-0 = <&pmx_nand>;
162 pinctrl-names = "default";
166 reg = <0x0 0x1c0000>;
171 reg = <0x1c0000 0x2c0000>;
176 reg = <0x480000 0x160000>;
181 reg = <0x5e0000 0x540000>;
186 reg = <0xb20000 0x3d40000>;
191 reg = <0x4860000 0xb7a0000>;
198 ethphy0: ethernet-phy@0 {
199 device_type = "ethernet-phy";
203 ethphy1: ethernet-phy@1 {
204 device_type = "ethernet-phy";
212 phy-handle = <ðphy0>;
218 pinctrl-0 = <&pmx_ge1>;
219 pinctrl-names = "default";
221 phy-handle = <ðphy1>;