2015-02-07 14:57:52 +08:00
|
|
|
/*
|
|
|
|
* dts file for Hisilicon HiKey Development Board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015, Hisilicon Ltd.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include "hi6220.dtsi"
|
2016-04-13 07:55:41 +08:00
|
|
|
#include "hikey-pinctrl.dtsi"
|
2016-04-13 07:55:50 +08:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2015-02-07 14:57:52 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "HiKey Development Board";
|
|
|
|
compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220";
|
|
|
|
|
|
|
|
aliases {
|
2015-10-01 09:19:48 +08:00
|
|
|
serial0 = &uart0; /* On board UART0 */
|
|
|
|
serial1 = &uart1; /* BT UART */
|
|
|
|
serial2 = &uart2; /* LS Expansion UART0 */
|
|
|
|
serial3 = &uart3; /* LS Expansion UART1 */
|
2015-02-07 14:57:52 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2015-10-01 09:19:48 +08:00
|
|
|
stdout-path = "serial3:115200n8";
|
2015-02-07 14:57:52 +08:00
|
|
|
};
|
|
|
|
|
2016-04-13 07:55:37 +08:00
|
|
|
/*
|
|
|
|
* Reserve below regions from memory node:
|
|
|
|
*
|
|
|
|
* 0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using
|
|
|
|
* 0x06df,f000 - 0x06df,ffff: Mailbox message data
|
|
|
|
* 0x0740,f000 - 0x0740,ffff: MCU firmware section
|
|
|
|
* 0x3e00,0000 - 0x3fff,ffff: OP-TEE
|
|
|
|
*/
|
2015-02-07 14:57:52 +08:00
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
2016-04-13 07:55:37 +08:00
|
|
|
reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
|
|
|
|
<0x00000000 0x05f00000 0x00000000 0x00eff000>,
|
|
|
|
<0x00000000 0x06e00000 0x00000000 0x0060f000>,
|
|
|
|
<0x00000000 0x07410000 0x00000000 0x36bf0000>;
|
2015-02-07 14:57:52 +08:00
|
|
|
};
|
2016-04-13 07:55:42 +08:00
|
|
|
|
|
|
|
soc {
|
|
|
|
spi0: spi@f7106000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
2016-04-13 07:55:44 +08:00
|
|
|
|
|
|
|
i2c0: i2c@f7100000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1: i2c@f7101000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
2016-04-13 07:55:48 +08:00
|
|
|
|
|
|
|
uart1: uart@f7111000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart2: uart@f7112000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart3: uart@f7113000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
2016-04-13 07:55:42 +08:00
|
|
|
};
|
2016-04-13 07:55:49 +08:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
user_led4 {
|
|
|
|
label = "user_led4";
|
|
|
|
gpios = <&gpio4 0 0>; /* <&gpio_user_led_1>; */
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
|
|
|
|
user_led3 {
|
|
|
|
label = "user_led3";
|
|
|
|
gpios = <&gpio4 1 0>; /* <&gpio_user_led_2>; */
|
|
|
|
linux,default-trigger = "mmc0";
|
|
|
|
};
|
|
|
|
|
|
|
|
user_led2 {
|
|
|
|
label = "user_led2";
|
|
|
|
gpios = <&gpio4 2 0>; /* <&gpio_user_led_3>; */
|
|
|
|
linux,default-trigger = "mmc1";
|
|
|
|
};
|
|
|
|
|
|
|
|
user_led1 {
|
|
|
|
label = "user_led1";
|
|
|
|
gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */
|
|
|
|
linux,default-trigger = "cpu0";
|
|
|
|
};
|
|
|
|
|
|
|
|
wlan_active_led {
|
|
|
|
label = "wifi_active";
|
|
|
|
gpios = <&gpio3 5 0>; /* <&gpio_wlan_active_led>; */
|
|
|
|
linux,default-trigger = "phy0tx";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
|
|
|
|
bt_active_led {
|
|
|
|
label = "bt_active";
|
|
|
|
gpios = <&gpio4 7 0>; /* <&gpio_bt_active_led>; */
|
|
|
|
linux,default-trigger = "hci0rx";
|
|
|
|
default-state = "off";
|
|
|
|
};
|
|
|
|
};
|
2016-04-13 07:55:50 +08:00
|
|
|
|
|
|
|
pmic: pmic@f8000000 {
|
|
|
|
compatible = "hisilicon,hi655x-pmic";
|
|
|
|
reg = <0x0 0xf8000000 0x0 0x1000>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
ldo2: LDO2 {
|
|
|
|
regulator-name = "LDO2_2V8";
|
|
|
|
regulator-min-microvolt = <2500000>;
|
|
|
|
regulator-max-microvolt = <3200000>;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo7: LDO7 {
|
|
|
|
regulator-name = "LDO7_SDIO";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo10: LDO10 {
|
|
|
|
regulator-name = "LDO10_2V85";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
regulator-enable-ramp-delay = <360>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo13: LDO13 {
|
|
|
|
regulator-name = "LDO13_1V8";
|
|
|
|
regulator-min-microvolt = <1600000>;
|
|
|
|
regulator-max-microvolt = <1950000>;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo14: LDO14 {
|
|
|
|
regulator-name = "LDO14_2V8";
|
|
|
|
regulator-min-microvolt = <2500000>;
|
|
|
|
regulator-max-microvolt = <3200000>;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo15: LDO15 {
|
|
|
|
regulator-name = "LDO15_1V8";
|
|
|
|
regulator-min-microvolt = <1600000>;
|
|
|
|
regulator-max-microvolt = <1950000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo17: LDO17 {
|
|
|
|
regulator-name = "LDO17_2V5";
|
|
|
|
regulator-min-microvolt = <2500000>;
|
|
|
|
regulator-max-microvolt = <3200000>;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo19: LDO19 {
|
|
|
|
regulator-name = "LDO19_3V0";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
regulator-enable-ramp-delay = <360>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo21: LDO21 {
|
|
|
|
regulator-name = "LDO21_1V8";
|
|
|
|
regulator-min-microvolt = <1650000>;
|
|
|
|
regulator-max-microvolt = <2000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo22: LDO22 {
|
|
|
|
regulator-name = "LDO22_1V2";
|
|
|
|
regulator-min-microvolt = <900000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-enable-ramp-delay = <120>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-02-07 14:57:52 +08:00
|
|
|
};
|
2015-12-11 05:21:13 +08:00
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
label = "LS-UART0";
|
|
|
|
};
|
|
|
|
&uart3 {
|
|
|
|
label = "LS-UART1";
|
|
|
|
};
|