2018-12-18 23:02:31 +08:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* RDA8810PL SoC
|
|
|
|
*
|
|
|
|
* Copyright (c) 2017 Andreas Färber
|
|
|
|
* Copyright (c) 2018 Manivannan Sadhasivam
|
|
|
|
*/
|
|
|
|
|
2018-12-18 23:02:34 +08:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
|
2018-12-18 23:02:31 +08:00
|
|
|
/ {
|
|
|
|
compatible = "rda,8810pl";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a5";
|
|
|
|
reg = <0x0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sram@100000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x100000 0x10000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
};
|
|
|
|
|
|
|
|
apb@20800000 {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x0 0x20800000 0x100000>;
|
|
|
|
|
|
|
|
intc: interrupt-controller@0 {
|
|
|
|
compatible = "rda,8810pl-intc";
|
|
|
|
reg = <0x0 0x1000>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
apb@20900000 {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x0 0x20900000 0x100000>;
|
2018-12-18 23:02:34 +08:00
|
|
|
|
|
|
|
timer@10000 {
|
|
|
|
compatible = "rda,8810pl-timer";
|
|
|
|
reg = <0x10000 0x1000>;
|
|
|
|
interrupts = <16 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<17 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
interrupt-names = "hwtimer", "ostimer";
|
|
|
|
};
|
2018-12-18 23:02:31 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
apb@20a00000 {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x0 0x20a00000 0x100000>;
|
|
|
|
|
|
|
|
uart1: serial@0 {
|
|
|
|
compatible = "rda,8810pl-uart";
|
|
|
|
reg = <0x0 0x1000>;
|
2018-12-18 23:02:36 +08:00
|
|
|
interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
|
2018-12-18 23:02:31 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart2: serial@10000 {
|
|
|
|
compatible = "rda,8810pl-uart";
|
|
|
|
reg = <0x10000 0x1000>;
|
2018-12-18 23:02:36 +08:00
|
|
|
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
|
2018-12-18 23:02:31 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart3: serial@90000 {
|
|
|
|
compatible = "rda,8810pl-uart";
|
|
|
|
reg = <0x90000 0x1000>;
|
2018-12-18 23:02:36 +08:00
|
|
|
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
|
2018-12-18 23:02:31 +08:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
l2: cache-controller@21100000 {
|
|
|
|
compatible = "arm,pl310-cache";
|
|
|
|
reg = <0x21100000 0x1000>;
|
|
|
|
cache-unified;
|
|
|
|
cache-level = <2>;
|
|
|
|
};
|
|
|
|
};
|