2 * dts file for Hisilicon HiKey960 Development Board
4 * Copyright (C) 2016, Hisilicon Ltd.
10 #include "hi3660.dtsi"
11 #include "hikey960-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
18 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
33 stdout-path = "serial6:115200n8";
37 device_type = "memory";
38 /* rewrite this at bootloader */
39 reg = <0x0 0x0 0x0 0x0>;
43 compatible = "gpio-keys";
44 pinctrl-names = "default";
45 pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>;
49 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_POWER>;
56 compatible = "gpio-leds";
60 /* gpio_150_user_led1 */
61 gpios = <&gpio18 6 0>;
62 linux,default-trigger = "heartbeat";
67 /* gpio_151_user_led2 */
68 gpios = <&gpio18 7 0>;
69 linux,default-trigger = "mmc0";
74 /* gpio_189_user_led3 */
75 gpios = <&gpio23 5 0>;
76 default-state = "off";
81 /* gpio_190_user_led4 */
82 gpios = <&gpio23 6 0>;
83 linux,default-trigger = "cpu0";
87 label = "wifi_active";
88 /* gpio_205_wifi_active */
89 gpios = <&gpio25 5 0>;
90 linux,default-trigger = "phy0tx";
91 default-state = "off";
96 gpios = <&gpio25 7 0>;
97 /* gpio_207_user_led1 */
98 linux,default-trigger = "hci0-power";
99 default-state = "off";
103 pmic: pmic@fff34000 {
104 compatible = "hisilicon,hi6421v530-pmic";
105 reg = <0x0 0xfff34000 0x0 0x1000>;
106 interrupt-controller;
107 #interrupt-cells = <2>;
110 ldo3: LDO3 { /* HDMI */
111 regulator-name = "VOUT3_1V85";
112 regulator-min-microvolt = <1800000>;
113 regulator-max-microvolt = <2200000>;
114 regulator-enable-ramp-delay = <120>;
117 ldo9: LDO9 { /* SDCARD I/O */
118 regulator-name = "VOUT9_1V8_2V95";
119 regulator-min-microvolt = <1750000>;
120 regulator-max-microvolt = <3300000>;
121 regulator-enable-ramp-delay = <240>;
124 ldo11: LDO11 { /* Low Speed Connector */
125 regulator-name = "VOUT11_1V8_2V95";
126 regulator-min-microvolt = <1750000>;
127 regulator-max-microvolt = <3300000>;
128 regulator-enable-ramp-delay = <240>;
131 ldo15: LDO15 { /* UFS VCC */
132 regulator-name = "VOUT15_3V0";
133 regulator-min-microvolt = <1750000>;
134 regulator-max-microvolt = <3000000>;
137 regulator-enable-ramp-delay = <120>;
140 ldo16: LDO16 { /* SD VDD */
141 regulator-name = "VOUT16_2V95";
142 regulator-min-microvolt = <1750000>;
143 regulator-max-microvolt = <3000000>;
144 regulator-enable-ramp-delay = <360>;
149 wlan_en: wlan-en-1-8v {
150 compatible = "regulator-fixed";
151 regulator-name = "wlan-en-regulator";
152 regulator-min-microvolt = <1800000>;
153 regulator-max-microvolt = <1800000>;
155 /* GPIO_051_WIFI_EN */
158 /* WLAN card specific delay */
159 startup-delay-us = <70000>;
165 /* On Low speed expansion */
173 adv7533: adv7533@39 {
175 compatible = "adi,adv7533";
181 /* On Low speed expansion */
187 /* On Low speed expansion */
196 compatible = "ti,wl1837-st";
197 enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
198 max-speed = <921600>;
203 /* On Low speed expansion */
209 /* On Low speed expansion */
215 /* On High speed expansion */
221 vmmc-supply = <&ldo16>;
222 vqmmc-supply = <&ldo9>;
229 vmmc-supply = <&wlan_en>;
232 #address-cells = <0x1>;
237 compatible = "ti,wl1837";
238 reg = <2>; /* sdio func num */
239 /* WL_IRQ, GPIO_179_WL_WAKEUP_AP */
240 interrupt-parent = <&gpio22>;
241 interrupts = <3 IRQ_TYPE_EDGE_RISING>;