Loading...
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include "kirkwood.dtsi"
5#include "kirkwood-6282.dtsi"
6#include "kirkwood-ts219.dtsi"
7
8/ {
9 ocp@f1000000 {
10 pinctrl: pin-controller@10000 {
11
12 pinctrl-0 = <&pmx_ram_size &pmx_board_id>;
13 pinctrl-names = "default";
14
15 pmx_ram_size: pmx-ram-size {
16 /* RAM: 0: 256 MB, 1: 512 MB */
17 marvell,pins = "mpp36";
18 marvell,function = "gpio";
19 };
20 pmx_reset_button: pmx-reset-button {
21 marvell,pins = "mpp37";
22 marvell,function = "gpio";
23 };
24 pmx_USB_copy_button: pmx-USB-copy-button {
25 marvell,pins = "mpp43";
26 marvell,function = "gpio";
27 };
28 pmx_board_id: pmx-board-id {
29 /* 0: TS-11x, 1: TS-21x */
30 marvell,pins = "mpp44";
31 marvell,function = "gpio";
32 };
33 };
34 };
35
36 gpio_keys {
37 compatible = "gpio-keys";
38 #address-cells = <1>;
39 #size-cells = <0>;
40 pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>;
41 pinctrl-names = "default";
42
43 copy {
44 label = "USB Copy";
45 linux,code = <KEY_COPY>;
46 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
47 };
48 reset {
49 label = "Reset";
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
52 };
53 };
54};
55
56ðphy0 { reg = <0>; };
57
58&pcie1 { status = "okay"; };
1/dts-v1/;
2
3#include "kirkwood.dtsi"
4#include "kirkwood-6282.dtsi"
5#include "kirkwood-ts219.dtsi"
6
7/ {
8 mbus {
9 pcie-controller {
10 status = "okay";
11
12 pcie@2,0 {
13 status = "okay";
14 };
15 };
16 };
17
18 ocp@f1000000 {
19 pinctrl: pin-controller@10000 {
20
21 pinctrl-0 = <&pmx_ram_size &pmx_board_id>;
22 pinctrl-names = "default";
23
24 pmx_ram_size: pmx-ram-size {
25 /* RAM: 0: 256 MB, 1: 512 MB */
26 marvell,pins = "mpp36";
27 marvell,function = "gpio";
28 };
29 pmx_reset_button: pmx-reset-button {
30 marvell,pins = "mpp37";
31 marvell,function = "gpio";
32 };
33 pmx_USB_copy_button: pmx-USB-copy-button {
34 marvell,pins = "mpp43";
35 marvell,function = "gpio";
36 };
37 pmx_board_id: pmx-board-id {
38 /* 0: TS-11x, 1: TS-21x */
39 marvell,pins = "mpp44";
40 marvell,function = "gpio";
41 };
42 };
43 };
44
45 gpio_keys {
46 compatible = "gpio-keys";
47 #address-cells = <1>;
48 #size-cells = <0>;
49 pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>;
50 pinctrl-names = "default";
51
52 button@1 {
53 label = "USB Copy";
54 linux,code = <KEY_COPY>;
55 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
56 };
57 button@2 {
58 label = "Reset";
59 linux,code = <KEY_RESTART>;
60 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
61 };
62 };
63};
64
65ðphy0 { reg = <0>; };