2 * Marvell OpenRD (Base|Client|Ultimate) Board Description
4 * Andrew Lunn <andrew@lunn.ch>
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
10 * This file contains the definitions that are common between the three
11 * variants of the Marvell Kirkwood Development Board.
14 #include "kirkwood.dtsi"
15 #include "kirkwood-6281.dtsi"
19 device_type = "memory";
20 reg = <0x00000000 0x20000000>;
24 bootargs = "console=ttyS0,115200n8";
39 pinctrl: pin-controller@10000 {
40 pinctrl-0 = <&pmx_select28 &pmx_sdio_cd &pmx_select34>;
41 pinctrl-names = "default";
43 pmx_select28: pmx-select-rs232-rs485 {
44 marvell,pins = "mpp28";
45 marvell,function = "gpio";
47 pmx_sdio_cd: pmx-sdio-cd {
48 marvell,pins = "mpp29";
49 marvell,function = "gpio";
51 pmx_select34: pmx-select-uart-sd {
52 marvell,pins = "mpp34";
53 marvell,function = "gpio";
66 cd-gpios = <&gpio0 29 9>;
71 gpios = <28 GPIO_ACTIVE_HIGH>;
73 * SelRS232or485 selects between RS-232 or RS-485
74 * mode for the second UART.
79 * To use the second UART, you need to change also
83 line-name = "SelRS232or485";
89 gpios = <2 GPIO_ACTIVE_HIGH>;
91 * SelUARTorSD selects between the second UART
92 * (serial@12100) and SD (mvsdio@90000).
97 * When changing this line make sure the newly
98 * selected device node is enabled and the
99 * previously selected device node is disabled.
101 output-high; /* Select SD by default */
102 line-name = "SelUARTorSD";
110 pinctrl-0 = <&pmx_nand>;
111 pinctrl-names = "default";
115 reg = <0x0000000 0x100000>;
120 reg = <0x0100000 0x400000>;
125 reg = <0x0600000 0x1FA00000>;