xref: /linux/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts (revision c2aad93200fa2dbbc6c48632e619494080d64796)
186e8f528SBintian Wang/*
286e8f528SBintian Wang * dts file for Hisilicon HiKey Development Board
386e8f528SBintian Wang *
486e8f528SBintian Wang * Copyright (C) 2015, Hisilicon Ltd.
586e8f528SBintian Wang *
686e8f528SBintian Wang */
786e8f528SBintian Wang
886e8f528SBintian Wang/dts-v1/;
986e8f528SBintian Wang
1086e8f528SBintian Wang#include "hi6220.dtsi"
11379e9bf5SZhong Kaihua#include "hikey-pinctrl.dtsi"
1286e8f528SBintian Wang
1386e8f528SBintian Wang/ {
1486e8f528SBintian Wang	model = "HiKey Development Board";
1586e8f528SBintian Wang	compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220";
1686e8f528SBintian Wang
1786e8f528SBintian Wang	aliases {
18a362ec8fSTyler Baker		serial0 = &uart0; /* On board UART0 */
19a362ec8fSTyler Baker		serial1 = &uart1; /* BT UART */
20a362ec8fSTyler Baker		serial2 = &uart2; /* LS Expansion UART0 */
21a362ec8fSTyler Baker		serial3 = &uart3; /* LS Expansion UART1 */
2286e8f528SBintian Wang	};
2386e8f528SBintian Wang
2486e8f528SBintian Wang	chosen {
25a362ec8fSTyler Baker		stdout-path = "serial3:115200n8";
2686e8f528SBintian Wang	};
2786e8f528SBintian Wang
286da3aba6SLeo Yan	/*
296da3aba6SLeo Yan	 * Reserve below regions from memory node:
306da3aba6SLeo Yan	 *
316da3aba6SLeo Yan	 *  0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using
326da3aba6SLeo Yan	 *  0x06df,f000 - 0x06df,ffff: Mailbox message data
336da3aba6SLeo Yan	 *  0x0740,f000 - 0x0740,ffff: MCU firmware section
346da3aba6SLeo Yan	 *  0x3e00,0000 - 0x3fff,ffff: OP-TEE
356da3aba6SLeo Yan	 */
3686e8f528SBintian Wang	memory@0 {
3786e8f528SBintian Wang		device_type = "memory";
386da3aba6SLeo Yan		reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
396da3aba6SLeo Yan		      <0x00000000 0x05f00000 0x00000000 0x00eff000>,
406da3aba6SLeo Yan		      <0x00000000 0x06e00000 0x00000000 0x0060f000>,
416da3aba6SLeo Yan		      <0x00000000 0x07410000 0x00000000 0x36bf0000>;
4286e8f528SBintian Wang	};
4360dac1b1SZhong Kaihua
4460dac1b1SZhong Kaihua	soc {
4560dac1b1SZhong Kaihua		spi0: spi@f7106000 {
4660dac1b1SZhong Kaihua			status = "ok";
4760dac1b1SZhong Kaihua		};
480c231751SGuodong Xu
490c231751SGuodong Xu		i2c0: i2c@f7100000 {
500c231751SGuodong Xu			status = "ok";
510c231751SGuodong Xu		};
520c231751SGuodong Xu
530c231751SGuodong Xu		i2c1: i2c@f7101000 {
540c231751SGuodong Xu			status = "ok";
550c231751SGuodong Xu		};
56*c2aad932SGuodong Xu
57*c2aad932SGuodong Xu		uart1: uart@f7111000 {
58*c2aad932SGuodong Xu			status = "ok";
59*c2aad932SGuodong Xu		};
60*c2aad932SGuodong Xu
61*c2aad932SGuodong Xu		uart2: uart@f7112000 {
62*c2aad932SGuodong Xu			status = "ok";
63*c2aad932SGuodong Xu		};
64*c2aad932SGuodong Xu
65*c2aad932SGuodong Xu		uart3: uart@f7113000 {
66*c2aad932SGuodong Xu			status = "ok";
67*c2aad932SGuodong Xu		};
6860dac1b1SZhong Kaihua	};
6986e8f528SBintian Wang};
70dd90caacSRob Herring
71dd90caacSRob Herring&uart2 {
72dd90caacSRob Herring	label = "LS-UART0";
73dd90caacSRob Herring};
74dd90caacSRob Herring&uart3 {
75dd90caacSRob Herring	label = "LS-UART1";
76dd90caacSRob Herring};
77