diff options
author | Zhong Kaihua <zhongkaihua@huawei.com> | 2015-11-11 16:54:26 +0800 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2015-11-23 04:25:42 +0000 |
commit | d8b3ef7dc8fd4a6c5c7d4dd08eb8fccea1b5790f (patch) | |
tree | 980ce85568fab89ac433242df6b8fb9273ef1373 | |
parent | 1560a6a40408575ca6e9e938a7aeb3a0b37ffb6d (diff) |
arm64: dts: add Hi6220 spi configuration nodes
arm64: dts: add Hi6220 spi configuration nodes
Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com>
-rw-r--r-- | arch/arm64/boot/dts/hi6220-hikey.dts | 1 | ||||
-rw-r--r-- | arch/arm64/boot/dts/hi6220.dtsi | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hi6220-hikey.dts b/arch/arm64/boot/dts/hi6220-hikey.dts index 99919faf440..8c9d6de9039 100644 --- a/arch/arm64/boot/dts/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hi6220-hikey.dts @@ -28,6 +28,7 @@ mshc0 = &dwmmc_0; mshc1 = &dwmmc_1; mshc2 = &dwmmc_2; + spi0 = &spi_0; }; chosen { diff --git a/arch/arm64/boot/dts/hi6220.dtsi b/arch/arm64/boot/dts/hi6220.dtsi index 1ac7df22e6a..495256568e4 100644 --- a/arch/arm64/boot/dts/hi6220.dtsi +++ b/arch/arm64/boot/dts/hi6220.dtsi @@ -713,6 +713,25 @@ }; }; + spi_0: spi@f7106000 { + compatible = "arm,pl022", "arm,primecell"; + reg = <0x0 0xf7106000 0x0 0x1000>; + interrupts = <0 50 4>; + bus-id = <0>; + enable-dma = <1>; + dmas = <&dma0 12 &dma0 13>; + dma-names = "rx", "tx"; + + clocks = <&clock_sys HI6220_SPI_CLK>; + clock-names = "apb_pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pmx_func &spi0_cfg_func>; + num-cs = <4>; + cs-gpios = <&gpio6 2 0>,<&gpio6 3 0>,<&gpio6 4 0>,<&gpio6 5 0>; + + status = "ok"; + }; + display-subsystem { compatible = "hisilicon,hi6220-drm"; #address-cells = <2>; |