1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for OpenBlocks A7 board
5 * Copyright (C) 2013 Free Electrons
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 #include "kirkwood.dtsi"
14 #include "kirkwood-6282.dtsi"
17 model = "Plat'Home OpenBlocksA7";
18 compatible = "plathome,openblocks-a7", "marvell,kirkwood-88f6283", "marvell,kirkwood";
21 device_type = "memory";
22 reg = <0x00000000 0x40000000>; /* 1 GB */
26 bootargs = "console=ttyS0,115200n8 earlyprintk";
48 compatible = "atmel,24c02";
53 pinctrl: pin-controller@10000 {
54 pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header
55 &pmx_gpio_header_gpo>;
56 pinctrl-names = "default";
58 pmx_uart0: pmx-uart0 {
59 marvell,pins = "mpp10", "mpp11", "mpp15",
61 marvell,function = "uart0";
64 pmx_uart1: pmx-uart1 {
65 marvell,pins = "mpp13", "mpp14", "mpp8",
67 marvell,function = "uart1";
70 pmx_sysrst: pmx-sysrst {
71 marvell,pins = "mpp6";
72 marvell,function = "sysrst";
75 pmx_dip_switches: pmx-dip-switches {
76 marvell,pins = "mpp44", "mpp45", "mpp46", "mpp47";
77 marvell,function = "gpio";
81 * Accessible on connector J202. The MPP
82 * listed below are pin 1-7, pin 8 is unused,
83 * pin 9 is external reset input and pin 10 is
86 pmx_gpio_header: pmx-gpio-header {
87 marvell,pins = "mpp17", "mpp29", "mpp28",
88 "mpp35", "mpp34", "mpp40";
89 marvell,function = "gpio";
92 pmx_gpio_header_gpo: pxm-gpio-header-gpo {
93 marvell,pins = "mpp7";
94 marvell,function = "gpo";
97 pmx_gpio_init: pmx-init {
98 marvell,pins = "mpp38";
99 marvell,function = "gpio";
102 pmx_usb_oc: pmx-usb-oc {
103 marvell,pins = "mpp39";
104 marvell,function = "gpio";
108 marvell,pins = "mpp41", "mpp42", "mpp43";
109 marvell,function = "gpio";
115 compatible = "gpio-leds";
116 pinctrl-0 = <&pmx_leds>;
117 pinctrl-names = "default";
120 label = "obsa7:red:stat";
121 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
125 label = "obsa7:green:stat";
126 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
130 label = "obsa7:yellow:stat";
131 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
136 compatible = "gpio-keys";
137 pinctrl-0 = <&pmx_gpio_init>;
138 pinctrl-names = "default";
139 #address-cells = <1>;
143 label = "Init Button";
144 linux,code = <KEY_POWER>;
145 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
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>;