1/* 2 * dts file for Hisilicon HiKey960 Development Board 3 * 4 * Copyright (C) 2016, Hisilicon Ltd. 5 * 6 */ 7 8/dts-v1/; 9 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> 15 16/ { 17 model = "HiKey960"; 18 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660"; 19 20 aliases { 21 serial0 = &uart0; 22 serial1 = &uart1; 23 serial2 = &uart2; 24 serial3 = &uart3; 25 serial4 = &uart4; 26 serial5 = &uart5; 27 serial6 = &uart6; 28 }; 29 30 chosen { 31 stdout-path = "serial6:115200n8"; 32 }; 33 34 memory@0 { 35 device_type = "memory"; 36 /* rewrite this at bootloader */ 37 reg = <0x0 0x0 0x0 0x0>; 38 }; 39 40 keys { 41 compatible = "gpio-keys"; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>; 44 45 power { 46 wakeup-source; 47 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; 48 label = "GPIO Power"; 49 linux,code = <KEY_POWER>; 50 }; 51 }; 52}; 53 54&i2c0 { 55 /* On Low speed expansion */ 56 label = "LS-I2C0"; 57 status = "okay"; 58}; 59 60&i2c1 { 61 status = "okay"; 62 63 adv7533: adv7533@39 { 64 status = "ok"; 65 compatible = "adi,adv7533"; 66 reg = <0x39>; 67 }; 68}; 69 70&i2c7 { 71 /* On Low speed expansion */ 72 label = "LS-I2C1"; 73 status = "okay"; 74}; 75 76&uart3 { 77 /* On Low speed expansion */ 78 label = "LS-UART0"; 79 status = "okay"; 80}; 81 82&uart4 { 83 status = "okay"; 84 85 bluetooth { 86 compatible = "ti,wl1837-st"; 87 enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>; 88 max-speed = <921600>; 89 }; 90}; 91 92&uart6 { 93 /* On Low speed expansion */ 94 label = "LS-UART1"; 95 status = "okay"; 96}; 97