forked from Minki/linux
60dac1b19b
Add Hi6220 spi configuration nodes. Disable by default in hi6220.dtsi and enable it in board dts for usage of 96boards LS mezzanine board. Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com> Signed-off-by: Guodong Xu <guodong.xu@linaro.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
/*
|
|
* dts file for Hisilicon HiKey Development Board
|
|
*
|
|
* Copyright (C) 2015, Hisilicon Ltd.
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "hi6220.dtsi"
|
|
#include "hikey-pinctrl.dtsi"
|
|
|
|
/ {
|
|
model = "HiKey Development Board";
|
|
compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220";
|
|
|
|
aliases {
|
|
serial0 = &uart0; /* On board UART0 */
|
|
serial1 = &uart1; /* BT UART */
|
|
serial2 = &uart2; /* LS Expansion UART0 */
|
|
serial3 = &uart3; /* LS Expansion UART1 */
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial3:115200n8";
|
|
};
|
|
|
|
/*
|
|
* 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
|
|
*/
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
|
|
<0x00000000 0x05f00000 0x00000000 0x00eff000>,
|
|
<0x00000000 0x06e00000 0x00000000 0x0060f000>,
|
|
<0x00000000 0x07410000 0x00000000 0x36bf0000>;
|
|
};
|
|
|
|
soc {
|
|
spi0: spi@f7106000 {
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
|
|
&uart2 {
|
|
label = "LS-UART0";
|
|
};
|
|
&uart3 {
|
|
label = "LS-UART1";
|
|
};
|