Manivannan Sadhasivam | 07f7687 | 2018-09-28 00:33:00 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | #include "rk3399-rock960.dtsi" |
| 8 | #include "rk3399-sdram-lpddr3-2GB-1600.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "96boards Rock960"; |
| 12 | compatible = "vamrs,rock960", "rockchip,rk3399"; |
| 13 | |
| 14 | chosen { |
| 15 | stdout-path = "serial2:1500000n8"; |
| 16 | }; |
| 17 | }; |
| 18 | |
| 19 | &pcie0 { |
| 20 | ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>; |
| 21 | }; |
| 22 | |
| 23 | &pinctrl { |
| 24 | pcie { |
| 25 | pcie_drv: pcie-drv { |
| 26 | rockchip,pins = |
| 27 | <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | usb2 { |
| 32 | host_vbus_drv: host-vbus-drv { |
| 33 | rockchip,pins = |
| 34 | <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 35 | }; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | &vcc3v3_pcie { |
| 40 | gpio = <&gpio2 5 GPIO_ACTIVE_HIGH>; |
| 41 | }; |
| 42 | |
| 43 | &vcc5v0_host { |
| 44 | gpio = <&gpio4 25 GPIO_ACTIVE_HIGH>; |
| 45 | }; |