1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for Hisilicon HiKey960 Development Board
5 * Copyright (C) 2016, Hisilicon Ltd.
11 #include "hi3660.dtsi"
12 #include "hikey960-pinctrl.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
19 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
34 stdout-path = "serial6:115200n8";
38 device_type = "memory";
39 /* rewrite this at bootloader */
40 reg = <0x0 0x0 0x0 0x0>;
49 compatible = "ramoops";
50 reg = <0x0 0x32000000 0x0 0x00100000>;
51 record-size = <0x00020000>;
52 console-size = <0x00020000>;
53 ftrace-size = <0x00020000>;
57 reboot-mode-syscon@32100000 {
58 compatible = "syscon", "simple-mfd";
59 reg = <0x0 0x32100000 0x0 0x00001000>;
62 compatible = "syscon-reboot-mode";
65 mode-normal = <0x77665501>;
66 mode-bootloader = <0x77665500>;
67 mode-recovery = <0x77665502>;
72 compatible = "gpio-keys";
73 pinctrl-names = "default";
74 pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>;
78 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_POWER>;
85 compatible = "gpio-leds";
89 /* gpio_150_user_led1 */
90 gpios = <&gpio18 6 0>;
91 linux,default-trigger = "heartbeat";
96 /* gpio_151_user_led2 */
97 gpios = <&gpio18 7 0>;
98 linux,default-trigger = "mmc0";
103 /* gpio_189_user_led3 */
104 gpios = <&gpio23 5 0>;
105 default-state = "off";
110 /* gpio_190_user_led4 */
111 gpios = <&gpio23 6 0>;
112 linux,default-trigger = "cpu0";
116 label = "wifi_active";
117 /* gpio_205_wifi_active */
118 gpios = <&gpio25 5 0>;
119 linux,default-trigger = "phy0tx";
120 default-state = "off";
125 gpios = <&gpio25 7 0>;
126 /* gpio_207_user_led1 */
127 linux,default-trigger = "hci0-power";
128 default-state = "off";
132 pmic: pmic@fff34000 {
133 compatible = "hisilicon,hi6421v530-pmic";
134 reg = <0x0 0xfff34000 0x0 0x1000>;
135 interrupt-controller;
136 #interrupt-cells = <2>;
139 ldo3: LDO3 { /* HDMI */
140 regulator-name = "VOUT3_1V85";
141 regulator-min-microvolt = <1800000>;
142 regulator-max-microvolt = <2200000>;
143 regulator-enable-ramp-delay = <120>;
146 ldo9: LDO9 { /* SDCARD I/O */
147 regulator-name = "VOUT9_1V8_2V95";
148 regulator-min-microvolt = <1750000>;
149 regulator-max-microvolt = <3300000>;
150 regulator-enable-ramp-delay = <240>;
153 ldo11: LDO11 { /* Low Speed Connector */
154 regulator-name = "VOUT11_1V8_2V95";
155 regulator-min-microvolt = <1750000>;
156 regulator-max-microvolt = <3300000>;
157 regulator-enable-ramp-delay = <240>;
160 ldo15: LDO15 { /* UFS VCC */
161 regulator-name = "VOUT15_3V0";
162 regulator-min-microvolt = <1750000>;
163 regulator-max-microvolt = <3000000>;
166 regulator-enable-ramp-delay = <120>;
169 ldo16: LDO16 { /* SD VDD */
170 regulator-name = "VOUT16_2V95";
171 regulator-min-microvolt = <1750000>;
172 regulator-max-microvolt = <3000000>;
173 regulator-enable-ramp-delay = <360>;
178 wlan_en: wlan-en-1-8v {
179 compatible = "regulator-fixed";
180 regulator-name = "wlan-en-regulator";
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
184 /* GPIO_051_WIFI_EN */
187 /* WLAN card specific delay */
188 startup-delay-us = <70000>;
194 compatible = "linaro,optee-tz";
201 /* On Low speed expansion */
209 adv7533: adv7533@39 {
211 compatible = "adi,adv7533";
217 /* On Low speed expansion */
223 /* On Low speed expansion */
232 compatible = "ti,wl1837-st";
233 enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
234 max-speed = <3000000>;
239 /* On Low speed expansion */
245 /* On Low speed expansion */
251 /* On High speed expansion */
257 vmmc-supply = <&ldo16>;
258 vqmmc-supply = <&ldo9>;
265 vmmc-supply = <&wlan_en>;
268 #address-cells = <0x1>;
273 compatible = "ti,wl1837";
274 reg = <2>; /* sdio func num */
275 /* WL_IRQ, GPIO_179_WL_WAKEUP_AP */
276 interrupt-parent = <&gpio22>;
277 interrupts = <3 IRQ_TYPE_EDGE_RISING>;