Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: hisilicon: add SD5203 dts

Add sd5203.dts for Hisilicon SD5203 SoC platform.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>

authored by

Kefeng Wang and committed by
Wei Xu
a332f5f9 227afa04

+98
+2
arch/arm/boot/dts/Makefile
··· 357 357 mps2-an399.dtb 358 358 dtb-$(CONFIG_ARCH_MOXART) += \ 359 359 moxart-uc7112lx.dtb 360 + dtb-$(CONFIG_ARCH_SD5203) += \ 361 + sd5203.dtb 360 362 dtb-$(CONFIG_SOC_IMX1) += \ 361 363 imx1-ads.dtb \ 362 364 imx1-apf9328.dtb
+96
arch/arm/boot/dts/sd5203.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + /* 3 + * Copyright (c) 2020 Hisilicon Limited. 4 + * 5 + * DTS file for Hisilicon SD5203 Board 6 + */ 7 + 8 + /dts-v1/; 9 + 10 + / { 11 + model = "Hisilicon SD5203"; 12 + compatible = "H836ASDJ", "hisilicon,sd5203"; 13 + interrupt-parent = <&vic>; 14 + #address-cells = <1>; 15 + #size-cells = <1>; 16 + 17 + chosen { 18 + bootargs="console=ttyS0,9600 earlycon=uart8250,mmio32,0x1600d000"; 19 + }; 20 + 21 + aliases { 22 + serial0 = &uart0; 23 + }; 24 + 25 + cpus { 26 + #address-cells = <1>; 27 + #size-cells = <0>; 28 + 29 + cpu0 { 30 + device_type = "cpu"; 31 + compatible = "arm,arm926ej-s"; 32 + reg = <0x0>; 33 + }; 34 + }; 35 + 36 + memory@30000000 { 37 + device_type = "memory"; 38 + reg = <0x30000000 0x8000000>; 39 + }; 40 + 41 + soc { 42 + #address-cells = <1>; 43 + #size-cells = <1>; 44 + compatible = "simple-bus"; 45 + ranges; 46 + 47 + vic: interrupt-controller@10130000 { 48 + compatible = "snps,dw-apb-ictl"; 49 + reg = <0x10130000 0x1000>; 50 + interrupt-controller; 51 + #interrupt-cells = <1>; 52 + }; 53 + 54 + refclk125mhz: refclk125mhz { 55 + compatible = "fixed-clock"; 56 + #clock-cells = <0>; 57 + clock-frequency = <125000000>; 58 + }; 59 + 60 + timer0: timer@16002000 { 61 + compatible = "arm,sp804", "arm,primecell"; 62 + reg = <0x16002000 0x1000>; 63 + interrupts = <4>; 64 + clocks = <&refclk125mhz>; 65 + clock-names = "apb_pclk"; 66 + }; 67 + 68 + timer1: timer@16003000 { 69 + compatible = "arm,sp804", "arm,primecell"; 70 + reg = <0x16003000 0x1000>; 71 + interrupts = <5>; 72 + clocks = <&refclk125mhz>; 73 + clock-names = "apb_pclk"; 74 + }; 75 + 76 + uart0: serial@1600d000 { 77 + compatible = "snps,dw-apb-uart"; 78 + reg = <0x1600d000 0x1000>; 79 + bus_id = "uart0"; 80 + clocks = <&refclk125mhz>; 81 + clock-names = "baudclk", "apb_pclk"; 82 + reg-shift = <2>; 83 + interrupts = <17>; 84 + }; 85 + 86 + uart1: serial@1600c000 { 87 + compatible = "snps,dw-apb-uart"; 88 + reg = <0x1600c000 0x1000>; 89 + clocks = <&refclk125mhz>; 90 + clock-names = "baudclk", "apb_pclk"; 91 + reg-shift = <2>; 92 + interrupts = <16>; 93 + status = "disabled"; 94 + }; 95 + }; 96 + };