1 // SPDX-License-Identifier: GPL-2.0
3 * Marvell OpenRD (Base|Client|Ultimate) Board Description
5 * Andrew Lunn <andrew@lunn.ch>
7 * This file contains the definitions that are common between the three
8 * variants of the Marvell Kirkwood Development Board.
11 #include "kirkwood.dtsi"
12 #include "kirkwood-6281.dtsi"
16 device_type = "memory";
17 reg = <0x00000000 0x20000000>;
21 bootargs = "console=ttyS0,115200n8";
26 pinctrl: pin-controller@10000 {
27 pinctrl-0 = <&pmx_select28 &pmx_sdio_cd &pmx_select34>;
28 pinctrl-names = "default";
30 pmx_select28: pmx-select-rs232-rs485 {
31 marvell,pins = "mpp28";
32 marvell,function = "gpio";
34 pmx_sdio_cd: pmx-sdio-cd {
35 marvell,pins = "mpp29";
36 marvell,function = "gpio";
38 pmx_select34: pmx-select-uart-sd {
39 marvell,pins = "mpp34";
40 marvell,function = "gpio";
53 cd-gpios = <&gpio0 29 9>;
58 gpios = <28 GPIO_ACTIVE_HIGH>;
60 * SelRS232or485 selects between RS-232 or RS-485
61 * mode for the second UART.
66 * To use the second UART, you need to change also
70 line-name = "SelRS232or485";
76 gpios = <2 GPIO_ACTIVE_HIGH>;
78 * SelUARTorSD selects between the second UART
79 * (serial@12100) and SD (mvsdio@90000).
84 * When changing this line make sure the newly
85 * selected device node is enabled and the
86 * previously selected device node is disabled.
88 output-high; /* Select SD by default */
89 line-name = "SelUARTorSD";
97 pinctrl-0 = <&pmx_nand>;
98 pinctrl-names = "default";
102 reg = <0x0000000 0x100000>;
107 reg = <0x0100000 0x400000>;
112 reg = <0x0600000 0x1FA00000>;