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>;
48 compatible = "ramoops";
49 reg = <0x0 0x32000000 0x0 0x00100000>;
50 record-size = <0x00020000>;
51 console-size = <0x00020000>;
52 ftrace-size = <0x00020000>;
56 reboot-mode-syscon@32100000 {
57 compatible = "syscon", "simple-mfd";
58 reg = <0x0 0x32100000 0x0 0x00001000>;
61 compatible = "syscon-reboot-mode";
64 mode-normal = <0x77665501>;
65 mode-bootloader = <0x77665500>;
66 mode-recovery = <0x77665502>;
71 compatible = "gpio-keys";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>;
77 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_POWER>;
84 compatible = "gpio-leds";
88 /* gpio_150_user_led1 */
89 gpios = <&gpio18 6 0>;
90 linux,default-trigger = "heartbeat";
95 /* gpio_151_user_led2 */
96 gpios = <&gpio18 7 0>;
97 linux,default-trigger = "mmc0";
102 /* gpio_189_user_led3 */
103 gpios = <&gpio23 5 0>;
104 default-state = "off";
109 /* gpio_190_user_led4 */
110 gpios = <&gpio23 6 0>;
111 linux,default-trigger = "cpu0";
115 label = "wifi_active";
116 /* gpio_205_wifi_active */
117 gpios = <&gpio25 5 0>;
118 linux,default-trigger = "phy0tx";
119 default-state = "off";
124 gpios = <&gpio25 7 0>;
125 /* gpio_207_user_led1 */
126 linux,default-trigger = "hci0-power";
127 default-state = "off";
131 pmic: pmic@fff34000 {
132 compatible = "hisilicon,hi6421v530-pmic";
133 reg = <0x0 0xfff34000 0x0 0x1000>;
134 interrupt-controller;
135 #interrupt-cells = <2>;
138 ldo3: LDO3 { /* HDMI */
139 regulator-name = "VOUT3_1V85";
140 regulator-min-microvolt = <1800000>;
141 regulator-max-microvolt = <2200000>;
142 regulator-enable-ramp-delay = <120>;
145 ldo9: LDO9 { /* SDCARD I/O */
146 regulator-name = "VOUT9_1V8_2V95";
147 regulator-min-microvolt = <1750000>;
148 regulator-max-microvolt = <3300000>;
149 regulator-enable-ramp-delay = <240>;
152 ldo11: LDO11 { /* Low Speed Connector */
153 regulator-name = "VOUT11_1V8_2V95";
154 regulator-min-microvolt = <1750000>;
155 regulator-max-microvolt = <3300000>;
156 regulator-enable-ramp-delay = <240>;
159 ldo15: LDO15 { /* UFS VCC */
160 regulator-name = "VOUT15_3V0";
161 regulator-min-microvolt = <1750000>;
162 regulator-max-microvolt = <3000000>;
165 regulator-enable-ramp-delay = <120>;
168 ldo16: LDO16 { /* SD VDD */
169 regulator-name = "VOUT16_2V95";
170 regulator-min-microvolt = <1750000>;
171 regulator-max-microvolt = <3000000>;
172 regulator-enable-ramp-delay = <360>;
177 wlan_en: wlan-en-1-8v {
178 compatible = "regulator-fixed";
179 regulator-name = "wlan-en-regulator";
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
183 /* GPIO_051_WIFI_EN */
186 /* WLAN card specific delay */
187 startup-delay-us = <70000>;
193 compatible = "linaro,optee-tz";
200 /* On Low speed expansion */
208 adv7533: adv7533@39 {
210 compatible = "adi,adv7533";
216 /* On Low speed expansion */
222 /* On Low speed expansion */
231 compatible = "ti,wl1837-st";
232 enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
233 max-speed = <3000000>;
238 /* On Low speed expansion */
244 /* On Low speed expansion */
250 /* On High speed expansion */
256 vmmc-supply = <&ldo16>;
257 vqmmc-supply = <&ldo9>;
264 vmmc-supply = <&wlan_en>;
267 #address-cells = <0x1>;
272 compatible = "ti,wl1837";
273 reg = <2>; /* sdio func num */
274 /* WL_IRQ, GPIO_179_WL_WAKEUP_AP */
275 interrupt-parent = <&gpio22>;
276 interrupts = <3 IRQ_TYPE_EDGE_RISING>;