Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 3 | #include "kirkwood.dtsi" |
| 4 | #include "kirkwood-6282.dtsi" |
| 5 | #include "kirkwood-ts219.dtsi" |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 6 | |
| 7 | / { |
Andrew Lunn | 1f6e46b | 2012-11-17 17:00:46 +0100 | [diff] [blame] | 8 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 9 | pinctrl: pin-controller@10000 { |
Andrew Lunn | 1f6e46b | 2012-11-17 17:00:46 +0100 | [diff] [blame] | 10 | |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 11 | pinctrl-0 = <&pmx_ram_size &pmx_board_id>; |
Andrew Lunn | 1f6e46b | 2012-11-17 17:00:46 +0100 | [diff] [blame] | 12 | pinctrl-names = "default"; |
| 13 | |
| 14 | pmx_ram_size: pmx-ram-size { |
| 15 | /* RAM: 0: 256 MB, 1: 512 MB */ |
| 16 | marvell,pins = "mpp36"; |
| 17 | marvell,function = "gpio"; |
| 18 | }; |
| 19 | pmx_reset_button: pmx-reset-button { |
| 20 | marvell,pins = "mpp37"; |
| 21 | marvell,function = "gpio"; |
| 22 | }; |
| 23 | pmx_USB_copy_button: pmx-USB-copy-button { |
| 24 | marvell,pins = "mpp43"; |
| 25 | marvell,function = "gpio"; |
| 26 | }; |
| 27 | pmx_board_id: pmx-board-id { |
| 28 | /* 0: TS-11x, 1: TS-21x */ |
| 29 | marvell,pins = "mpp44"; |
| 30 | marvell,function = "gpio"; |
| 31 | }; |
| 32 | }; |
| 33 | }; |
| 34 | |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 35 | gpio_keys { |
| 36 | compatible = "gpio-keys"; |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
Thomas Petazzoni | a4936cf | 2013-05-24 11:44:56 +0200 | [diff] [blame] | 39 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; |
| 40 | pinctrl-names = "default"; |
| 41 | |
Andrew Lunn | 395c755 | 2016-04-03 04:03:43 +0200 | [diff] [blame] | 42 | copy { |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 43 | label = "USB Copy"; |
Andrew Lunn | 2330119 | 2013-12-04 16:51:38 +0100 | [diff] [blame] | 44 | linux,code = <KEY_COPY>; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 45 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 46 | }; |
Andrew Lunn | 395c755 | 2016-04-03 04:03:43 +0200 | [diff] [blame] | 47 | reset { |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 48 | label = "Reset"; |
Andrew Lunn | 2330119 | 2013-12-04 16:51:38 +0100 | [diff] [blame] | 49 | linux,code = <KEY_RESTART>; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 50 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
Andrew Lunn | 9eb61f4 | 2012-05-12 14:57:59 +0200 | [diff] [blame] | 51 | }; |
| 52 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 53 | }; |
| 54 | |
| 55 | ðphy0 { reg = <0>; }; |
Andrew Lunn | eb13cf8 | 2016-04-03 04:03:47 +0200 | [diff] [blame] | 56 | |
| 57 | &pcie1 { status = "okay"; }; |