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";
50 compatible = "atmel,24c02";
55 pinctrl: pin-controller@10000 {
56 pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header
57 &pmx_gpio_header_gpo>;
58 pinctrl-names = "default";
60 pmx_uart0: pmx-uart0 {
61 marvell,pins = "mpp10", "mpp11", "mpp15",
63 marvell,function = "uart0";
66 pmx_uart1: pmx-uart1 {
67 marvell,pins = "mpp13", "mpp14", "mpp8",
69 marvell,function = "uart1";
72 pmx_sysrst: pmx-sysrst {
73 marvell,pins = "mpp6";
74 marvell,function = "sysrst";
77 pmx_dip_switches: pmx-dip-switches {
78 marvell,pins = "mpp44", "mpp45", "mpp46", "mpp47";
79 marvell,function = "gpio";
83 * Accessible on connector J202. The MPP
84 * listed below are pin 1-7, pin 8 is unused,
85 * pin 9 is external reset input and pin 10 is
88 pmx_gpio_header: pmx-gpio-header {
89 marvell,pins = "mpp17", "mpp29", "mpp28",
90 "mpp35", "mpp34", "mpp40";
91 marvell,function = "gpio";
94 pmx_gpio_header_gpo: pxm-gpio-header-gpo {
95 marvell,pins = "mpp7";
96 marvell,function = "gpo";
99 pmx_gpio_init: pmx-init {
100 marvell,pins = "mpp38";
101 marvell,function = "gpio";
104 pmx_usb_oc: pmx-usb-oc {
105 marvell,pins = "mpp39";
106 marvell,function = "gpio";
110 marvell,pins = "mpp41", "mpp42", "mpp43";
111 marvell,function = "gpio";
117 compatible = "gpio-leds";
118 pinctrl-0 = <&pmx_leds>;
119 pinctrl-names = "default";
122 label = "obsa7:red:stat";
123 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
127 label = "obsa7:green:stat";
128 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
132 label = "obsa7:yellow:stat";
133 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
138 compatible = "gpio-keys";
139 pinctrl-0 = <&pmx_gpio_init>;
140 pinctrl-names = "default";
141 #address-cells = <1>;
145 label = "Init Button";
146 linux,code = <KEY_POWER>;
147 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
158 reg = <0x0 0x1c0000>;
163 reg = <0x1c0000 0x2c0000>;
168 reg = <0x480000 0x160000>;
173 reg = <0x5e0000 0x540000>;
178 reg = <0xb20000 0x3d40000>;
183 reg = <0x4860000 0xb7a0000>;
190 ethphy0: ethernet-phy@0 {
194 ethphy1: ethernet-phy@1 {
202 phy-handle = <ðphy0>;
209 phy-handle = <ðphy1>;