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 pinctrl-names = "default";
59 pmx_uart0: pmx-uart0 {
60 marvell,pins = "mpp10", "mpp11", "mpp15",
62 marvell,function = "uart0";
65 pmx_uart1: pmx-uart1 {
66 marvell,pins = "mpp13", "mpp14", "mpp8",
68 marvell,function = "uart1";
71 pmx_sysrst: pmx-sysrst {
72 marvell,pins = "mpp6";
73 marvell,function = "sysrst";
76 pmx_dip_switches: pmx-dip-switches {
77 marvell,pins = "mpp44", "mpp45", "mpp46", "mpp47";
78 marvell,function = "gpio";
82 * Accessible on connector J202. The MPP
83 * listed below are pin 1-7, pin 8 is unused,
84 * pin 9 is external reset input and pin 10 is
87 pmx_gpio_header: pmx-gpio-header {
88 marvell,pins = "mpp17", "mpp7", "mpp29", "mpp28",
89 "mpp35", "mpp34", "mpp40";
90 marvell,function = "gpio";
93 pmx_gpio_init: pmx-init {
94 marvell,pins = "mpp38";
95 marvell,function = "gpio";
98 pmx_usb_oc: pmx-usb-oc {
99 marvell,pins = "mpp39";
100 marvell,function = "gpio";
104 marvell,pins = "mpp41", "mpp42", "mpp43";
105 marvell,function = "gpio";
111 compatible = "gpio-leds";
112 pinctrl-0 = <&pmx_leds>;
113 pinctrl-names = "default";
116 label = "obsa7:red:stat";
117 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
121 label = "obsa7:green:stat";
122 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
126 label = "obsa7:yellow:stat";
127 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
132 compatible = "gpio-keys";
133 pinctrl-0 = <&pmx_gpio_init>;
134 pinctrl-names = "default";
135 #address-cells = <1>;
139 label = "Init Button";
140 linux,code = <KEY_POWER>;
141 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
152 reg = <0x0 0x1c0000>;
157 reg = <0x1c0000 0x2c0000>;
162 reg = <0x480000 0x160000>;
167 reg = <0x5e0000 0x540000>;
172 reg = <0xb20000 0x3d40000>;
177 reg = <0x4860000 0xb7a0000>;
184 ethphy0: ethernet-phy@0 {
188 ethphy1: ethernet-phy@1 {
196 phy-handle = <ðphy0>;
203 phy-handle = <ðphy1>;