From: 黄涛 Date: Tue, 30 Sep 2014 08:32:59 +0000 (+0800) Subject: arm64: rockchip: Add dts file for the RK3368 FPGA board X-Git-Tag: firefly_0821_release~4158^2~607 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5e8b09aa47fb8dc8ae5c0f80d06e2e2d2bb95c53;p=firefly-linux-kernel-4.4.55.git arm64: rockchip: Add dts file for the RK3368 FPGA board --- diff --git a/arch/arm64/boot/dts/rk3368-fpga.dts b/arch/arm64/boot/dts/rk3368-fpga.dts new file mode 100644 index 000000000000..17c7b4d03c5a --- /dev/null +++ b/arch/arm64/boot/dts/rk3368-fpga.dts @@ -0,0 +1,71 @@ +/dts-v1/; + +#include + +/ { + compatible = "rockchip,rk3368"; + + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + xin24m: xin24m { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "xin24m"; + }; + + aliases { + serial2 = &uart_dbg; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53","arm,armv8"; + reg = <0x0 0x0>; + }; + }; + + chosen { + bootargs = "console=ttyS2 earlyprintk=uart8250-32bit,0xff690000"; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + clock-frequency = <24000000>; + }; + + memory@00000000 { + device_type = "memory"; + reg = <0x00000000 0x00000000 0x0 0x20000000>; + }; + + uart_dbg: serial@ff690000 { + compatible = "rockchip,serial"; + reg = <0x0 0xff690000 0x0 0x100>; + interrupts = ; + clock-frequency = <24000000>; + clocks = <&xin24m>, <&xin24m>; + clock-names = "sclk_uart", "pclk_uart"; + reg-shift = <2>; + reg-io-width = <4>; + }; + + gic: interrupt-controller@ffb70000 { + compatible = "arm,cortex-a15-gic"; + #interrupt-cells = <3>; + #address-cells = <0>; + interrupt-controller; + reg = <0x0 0xffb71000 0 0x1000>, + <0x0 0xffb72000 0 0x1000>; + }; +};