blob: 8295c833887ff6851322f52abac570b25ab9aa08 [file] [log] [blame]
Andrew Lunn9eb61f42012-05-12 14:57:59 +02001/dts-v1/;
2
3/include/ "kirkwood-ts219.dtsi"
Andrew Lunn1f6e46b2012-11-17 17:00:46 +01004/include/ "kirkwood-6281.dtsi"
Andrew Lunn9eb61f42012-05-12 14:57:59 +02005
6/ {
Andrew Lunn1f6e46b2012-11-17 17:00:46 +01007 ocp@f1000000 {
8 pinctrl: pinctrl@10000 {
9
10 pinctrl-0 = < &pmx_uart0 &pmx_uart1 &pmx_spi
11 &pmx_twsi0 &pmx_sata0 &pmx_sata1
12 &pmx_ram_size &pmx_reset_button
13 &pmx_USB_copy_button &pmx_board_id>;
14 pinctrl-names = "default";
15
16 pmx_ram_size: pmx-ram-size {
17 /* RAM: 0: 256 MB, 1: 512 MB */
18 marvell,pins = "mpp36";
19 marvell,function = "gpio";
20 };
21 pmx_USB_copy_button: pmx-USB-copy-button {
22 marvell,pins = "mpp15";
23 marvell,function = "gpio";
24 };
25 pmx_reset_button: pmx-reset-button {
26 marvell,pins = "mpp16";
27 marvell,function = "gpio";
28 };
29 pmx_board_id: pmx-board-id {
30 /* 0: TS-11x, 1: TS-21x */
31 marvell,pins = "mpp44";
32 marvell,function = "gpio";
33 };
34 };
35 };
36
Andrew Lunn9eb61f42012-05-12 14:57:59 +020037 gpio_keys {
38 compatible = "gpio-keys";
39 #address-cells = <1>;
40 #size-cells = <0>;
41 button@1 {
42 label = "USB Copy";
43 linux,code = <133>;
44 gpios = <&gpio0 15 1>;
45 };
46 button@2 {
47 label = "Reset";
48 linux,code = <0x198>;
49 gpios = <&gpio0 16 1>;
50 };
51 };
52};