1 // SPDX-License-Identifier: GPL-2.0
4 #include "kirkwood.dtsi"
5 #include "kirkwood-6282.dtsi"
6 #include "kirkwood-ts219.dtsi"
10 pinctrl: pin-controller@10000 {
12 pinctrl-0 = <&pmx_ram_size &pmx_board_id>;
13 pinctrl-names = "default";
15 pmx_ram_size: pmx-ram-size {
16 /* RAM: 0: 256 MB, 1: 512 MB */
17 marvell,pins = "mpp36";
18 marvell,function = "gpio";
20 pmx_reset_button: pmx-reset-button {
21 marvell,pins = "mpp37";
22 marvell,function = "gpio";
24 pmx_USB_copy_button: pmx-USB-copy-button {
25 marvell,pins = "mpp43";
26 marvell,function = "gpio";
28 pmx_board_id: pmx-board-id {
29 /* 0: TS-11x, 1: TS-21x */
30 marvell,pins = "mpp44";
31 marvell,function = "gpio";
37 compatible = "gpio-keys";
40 pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>;
41 pinctrl-names = "default";
45 linux,code = <KEY_COPY>;
46 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
56 ðphy0 { reg = <0>; };
58 &pcie1 { status = "okay"; };