1/* 2 * dts file for Hisilicon HiKey Development Board 3 * 4 * Copyright (C) 2015, Hisilicon Ltd. 5 * 6 */ 7 8/dts-v1/; 9#include "hi6220.dtsi" 10#include "hikey-pinctrl.dtsi" 11#include <dt-bindings/gpio/gpio.h> 12 13/ { 14 model = "HiKey Development Board"; 15 compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; 16 17 aliases { 18 serial0 = &uart0; /* On board UART0 */ 19 serial1 = &uart1; /* BT UART */ 20 serial2 = &uart2; /* LS Expansion UART0 */ 21 serial3 = &uart3; /* LS Expansion UART1 */ 22 }; 23 24 chosen { 25 stdout-path = "serial3:115200n8"; 26 }; 27 28 /* 29 * Reserve below regions from memory node: 30 * 31 * 0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using 32 * 0x06df,f000 - 0x06df,ffff: Mailbox message data 33 * 0x0740,f000 - 0x0740,ffff: MCU firmware section 34 * 0x3e00,0000 - 0x3fff,ffff: OP-TEE 35 */ 36 memory@0 { 37 device_type = "memory"; 38 reg = <0x00000000 0x00000000 0x00000000 0x05e00000>, 39 <0x00000000 0x05f00000 0x00000000 0x00eff000>, 40 <0x00000000 0x06e00000 0x00000000 0x0060f000>, 41 <0x00000000 0x07410000 0x00000000 0x36bf0000>; 42 }; 43 44 soc { 45 spi0: spi@f7106000 { 46 status = "ok"; 47 }; 48 49 i2c0: i2c@f7100000 { 50 status = "ok"; 51 }; 52 53 i2c1: i2c@f7101000 { 54 status = "ok"; 55 }; 56 57 uart1: uart@f7111000 { 58 status = "ok"; 59 }; 60 61 uart2: uart@f7112000 { 62 status = "ok"; 63 }; 64 65 uart3: uart@f7113000 { 66 status = "ok"; 67 }; 68 }; 69 70 leds { 71 compatible = "gpio-leds"; 72 user_led4 { 73 label = "user_led4"; 74 gpios = <&gpio4 0 0>; /* <&gpio_user_led_1>; */ 75 linux,default-trigger = "heartbeat"; 76 }; 77 78 user_led3 { 79 label = "user_led3"; 80 gpios = <&gpio4 1 0>; /* <&gpio_user_led_2>; */ 81 linux,default-trigger = "mmc0"; 82 }; 83 84 user_led2 { 85 label = "user_led2"; 86 gpios = <&gpio4 2 0>; /* <&gpio_user_led_3>; */ 87 linux,default-trigger = "mmc1"; 88 }; 89 90 user_led1 { 91 label = "user_led1"; 92 gpios = <&gpio4 3 0>; /* <&gpio_user_led_4>; */ 93 linux,default-trigger = "cpu0"; 94 }; 95 96 wlan_active_led { 97 label = "wifi_active"; 98 gpios = <&gpio3 5 0>; /* <&gpio_wlan_active_led>; */ 99 linux,default-trigger = "phy0tx"; 100 default-state = "off"; 101 }; 102 103 bt_active_led { 104 label = "bt_active"; 105 gpios = <&gpio4 7 0>; /* <&gpio_bt_active_led>; */ 106 linux,default-trigger = "hci0rx"; 107 default-state = "off"; 108 }; 109 }; 110 111 pmic: pmic@f8000000 { 112 compatible = "hisilicon,hi655x-pmic"; 113 reg = <0x0 0xf8000000 0x0 0x1000>; 114 interrupt-controller; 115 #interrupt-cells = <2>; 116 pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; 117 118 regulators { 119 ldo2: LDO2 { 120 regulator-name = "LDO2_2V8"; 121 regulator-min-microvolt = <2500000>; 122 regulator-max-microvolt = <3200000>; 123 regulator-enable-ramp-delay = <120>; 124 }; 125 126 ldo7: LDO7 { 127 regulator-name = "LDO7_SDIO"; 128 regulator-min-microvolt = <1800000>; 129 regulator-max-microvolt = <3300000>; 130 regulator-enable-ramp-delay = <120>; 131 }; 132 133 ldo10: LDO10 { 134 regulator-name = "LDO10_2V85"; 135 regulator-min-microvolt = <1800000>; 136 regulator-max-microvolt = <3000000>; 137 regulator-enable-ramp-delay = <360>; 138 }; 139 140 ldo13: LDO13 { 141 regulator-name = "LDO13_1V8"; 142 regulator-min-microvolt = <1600000>; 143 regulator-max-microvolt = <1950000>; 144 regulator-enable-ramp-delay = <120>; 145 }; 146 147 ldo14: LDO14 { 148 regulator-name = "LDO14_2V8"; 149 regulator-min-microvolt = <2500000>; 150 regulator-max-microvolt = <3200000>; 151 regulator-enable-ramp-delay = <120>; 152 }; 153 154 ldo15: LDO15 { 155 regulator-name = "LDO15_1V8"; 156 regulator-min-microvolt = <1600000>; 157 regulator-max-microvolt = <1950000>; 158 regulator-boot-on; 159 regulator-always-on; 160 regulator-enable-ramp-delay = <120>; 161 }; 162 163 ldo17: LDO17 { 164 regulator-name = "LDO17_2V5"; 165 regulator-min-microvolt = <2500000>; 166 regulator-max-microvolt = <3200000>; 167 regulator-enable-ramp-delay = <120>; 168 }; 169 170 ldo19: LDO19 { 171 regulator-name = "LDO19_3V0"; 172 regulator-min-microvolt = <1800000>; 173 regulator-max-microvolt = <3000000>; 174 regulator-enable-ramp-delay = <360>; 175 }; 176 177 ldo21: LDO21 { 178 regulator-name = "LDO21_1V8"; 179 regulator-min-microvolt = <1650000>; 180 regulator-max-microvolt = <2000000>; 181 regulator-always-on; 182 regulator-enable-ramp-delay = <120>; 183 }; 184 185 ldo22: LDO22 { 186 regulator-name = "LDO22_1V2"; 187 regulator-min-microvolt = <900000>; 188 regulator-max-microvolt = <1200000>; 189 regulator-boot-on; 190 regulator-always-on; 191 regulator-enable-ramp-delay = <120>; 192 }; 193 }; 194 }; 195}; 196 197&uart2 { 198 label = "LS-UART0"; 199}; 200&uart3 { 201 label = "LS-UART1"; 202}; 203