]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/kirkwood.dtsi
ARM: Orion: DT support for IRQ and GPIO Controllers
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / kirkwood.dtsi
CommitLineData
3d468b6d
JC
1/include/ "skeleton.dtsi"
2
3/ {
77843504 4 compatible = "marvell,kirkwood";
278b45b0
AL
5 interrupt-parent = <&intc>;
6
7 intc: interrupt-controller {
8 compatible = "marvell,orion-intc", "marvell,intc";
9 interrupt-controller;
10 #interrupt-cells = <1>;
11 reg = <0xf1020204 0x04>,
12 <0xf1020214 0x04>;
13 };
3d468b6d 14
163f2cea
JC
15 ocp@f1000000 {
16 compatible = "simple-bus";
858156bd 17 ranges = <0 0xf1000000 0x4000000>;
163f2cea
JC
18 #address-cells = <1>;
19 #size-cells = <1>;
20
278b45b0
AL
21 gpio0: gpio@10100 {
22 compatible = "marvell,orion-gpio";
23 #gpio-cells = <2>;
24 gpio-controller;
25 reg = <0x10100 0x40>;
26 ngpio = <32>;
27 interrupts = <35>, <36>, <37>, <38>;
28 };
29
30 gpio1: gpio@10140 {
31 compatible = "marvell,orion-gpio";
32 #gpio-cells = <2>;
33 gpio-controller;
34 reg = <0x10140 0x40>;
35 ngpio = <18>;
36 interrupts = <39>, <40>, <41>;
37 };
38
163f2cea
JC
39 serial@12000 {
40 compatible = "ns16550a";
41 reg = <0x12000 0x100>;
42 reg-shift = <2>;
43 interrupts = <33>;
44 /* set clock-frequency in board dts */
45 status = "disabled";
46 };
47
48 serial@12100 {
49 compatible = "ns16550a";
50 reg = <0x12100 0x100>;
51 reg-shift = <2>;
52 interrupts = <34>;
53 /* set clock-frequency in board dts */
54 status = "disabled";
55 };
e871b87a
JC
56
57 rtc@10300 {
77843504 58 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
e871b87a
JC
59 reg = <0x10300 0x20>;
60 interrupts = <53>;
61 };
858156bd
JL
62
63 nand@3000000 {
64 #address-cells = <1>;
65 #size-cells = <1>;
66 cle = <0>;
67 ale = <1>;
68 bank-width = <1>;
77843504 69 compatible = "marvell,orion-nand";
858156bd
JL
70 reg = <0x3000000 0x400>;
71 chip-delay = <25>;
72 /* set partition map and/or chip-delay in board dts */
73 status = "disabled";
74 };
163f2cea
JC
75 };
76};