-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Allwinner A23 is a tablet oriented SoC with 2 Cortex-A7 cores and a Mali-400MP2 GPU. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
- Loading branch information
Chen-Yu Tsai
authored and
Maxime Ripard
committed
Jul 1, 2014
1 parent
c1a0ee3
commit fd6c10f
Showing
1 changed file
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
/* | ||
* Copyright 2014 Chen-Yu Tsai | ||
* | ||
* Chen-Yu Tsai <wens@csie.org> | ||
* | ||
* The code contained herein is licensed under the GNU General Public | ||
* License. You may obtain a copy of the GNU General Public License | ||
* Version 2 or later at the following locations: | ||
* | ||
* http://www.opensource.org/licenses/gpl-license.html | ||
* http://www.gnu.org/copyleft/gpl.html | ||
*/ | ||
|
||
/include/ "skeleton.dtsi" | ||
|
||
/ { | ||
interrupt-parent = <&gic>; | ||
|
||
aliases { | ||
serial0 = &uart0; | ||
serial1 = &uart1; | ||
serial2 = &uart2; | ||
serial3 = &uart3; | ||
serial4 = &uart4; | ||
serial5 = &r_uart; | ||
}; | ||
|
||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
compatible = "arm,cortex-a7"; | ||
device_type = "cpu"; | ||
reg = <0>; | ||
}; | ||
|
||
cpu@1 { | ||
compatible = "arm,cortex-a7"; | ||
device_type = "cpu"; | ||
reg = <1>; | ||
}; | ||
}; | ||
|
||
memory { | ||
reg = <0x40000000 0x40000000>; | ||
}; | ||
|
||
clocks { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges; | ||
|
||
osc24M: osc24M_clk { | ||
#clock-cells = <0>; | ||
compatible = "fixed-clock"; | ||
clock-frequency = <24000000>; | ||
clock-output-names = "osc24M"; | ||
}; | ||
|
||
osc32k: osc32k_clk { | ||
#clock-cells = <0>; | ||
compatible = "fixed-clock"; | ||
clock-frequency = <32768>; | ||
clock-output-names = "osc32k"; | ||
}; | ||
}; | ||
|
||
soc@01c00000 { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges; | ||
|
||
timer@01c20c00 { | ||
compatible = "allwinner,sun4i-a10-timer"; | ||
reg = <0x01c20c00 0xa0>; | ||
interrupts = <0 18 4>, | ||
<0 19 4>; | ||
clocks = <&osc24M>; | ||
}; | ||
|
||
wdt0: watchdog@01c20ca0 { | ||
compatible = "allwinner,sun6i-a31-wdt"; | ||
reg = <0x01c20ca0 0x20>; | ||
interrupts = <0 25 4>; | ||
}; | ||
|
||
uart0: serial@01c28000 { | ||
compatible = "snps,dw-apb-uart"; | ||
reg = <0x01c28000 0x400>; | ||
interrupts = <0 0 4>; | ||
reg-shift = <2>; | ||
reg-io-width = <4>; | ||
clocks = <&osc24M>; | ||
status = "disabled"; | ||
}; | ||
|
||
uart1: serial@01c28400 { | ||
compatible = "snps,dw-apb-uart"; | ||
reg = <0x01c28400 0x400>; | ||
interrupts = <0 1 4>; | ||
reg-shift = <2>; | ||
reg-io-width = <4>; | ||
clocks = <&osc24M>; | ||
status = "disabled"; | ||
}; | ||
|
||
uart2: serial@01c28800 { | ||
compatible = "snps,dw-apb-uart"; | ||
reg = <0x01c28800 0x400>; | ||
interrupts = <0 2 4>; | ||
reg-shift = <2>; | ||
reg-io-width = <4>; | ||
clocks = <&osc24M>; | ||
status = "disabled"; | ||
}; | ||
|
||
uart3: serial@01c28c00 { | ||
compatible = "snps,dw-apb-uart"; | ||
reg = <0x01c28c00 0x400>; | ||
interrupts = <0 3 4>; | ||
reg-shift = <2>; | ||
reg-io-width = <4>; | ||
clocks = <&osc24M>; | ||
status = "disabled"; | ||
}; | ||
|
||
uart4: serial@01c29000 { | ||
compatible = "snps,dw-apb-uart"; | ||
reg = <0x01c29000 0x400>; | ||
interrupts = <0 4 4>; | ||
reg-shift = <2>; | ||
reg-io-width = <4>; | ||
clocks = <&osc24M>; | ||
status = "disabled"; | ||
}; | ||
|
||
gic: interrupt-controller@01c81000 { | ||
compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; | ||
reg = <0x01c81000 0x1000>, | ||
<0x01c82000 0x1000>, | ||
<0x01c84000 0x2000>, | ||
<0x01c86000 0x2000>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
interrupts = <1 9 0xf04>; | ||
}; | ||
|
||
r_uart: serial@01f02800 { | ||
compatible = "snps,dw-apb-uart"; | ||
reg = <0x01f02800 0x400>; | ||
interrupts = <0 38 4>; | ||
reg-shift = <2>; | ||
reg-io-width = <4>; | ||
clocks = <&osc24M>; | ||
status = "disabled"; | ||
}; | ||
}; | ||
}; |