diff options
Diffstat (limited to 'arch/arm/boot/dts/spear310.dtsi')
-rw-r--r-- | arch/arm/boot/dts/spear310.dtsi | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/spear310.dtsi b/arch/arm/boot/dts/spear310.dtsi index 7840e529aba2..ab45b8c81982 100644 --- a/arch/arm/boot/dts/spear310.dtsi +++ b/arch/arm/boot/dts/spear310.dtsi | |||
@@ -22,9 +22,10 @@ | |||
22 | 0xb0000000 0xb0000000 0x10000000 | 22 | 0xb0000000 0xb0000000 0x10000000 |
23 | 0xd0000000 0xd0000000 0x30000000>; | 23 | 0xd0000000 0xd0000000 0x30000000>; |
24 | 24 | ||
25 | pinmux@b4000000 { | 25 | pinmux: pinmux@b4000000 { |
26 | compatible = "st,spear310-pinmux"; | 26 | compatible = "st,spear310-pinmux"; |
27 | reg = <0xb4000000 0x1000>; | 27 | reg = <0xb4000000 0x1000>; |
28 | #gpio-range-cells = <2>; | ||
28 | }; | 29 | }; |
29 | 30 | ||
30 | fsmc: flash@44000000 { | 31 | fsmc: flash@44000000 { |
@@ -39,6 +40,14 @@ | |||
39 | status = "disabled"; | 40 | status = "disabled"; |
40 | }; | 41 | }; |
41 | 42 | ||
43 | shirq: interrupt-controller@0xb4000000 { | ||
44 | compatible = "st,spear310-shirq"; | ||
45 | reg = <0xb4000000 0x1000>; | ||
46 | interrupts = <28 29 30 1>; | ||
47 | #interrupt-cells = <1>; | ||
48 | interrupt-controller; | ||
49 | }; | ||
50 | |||
42 | apb { | 51 | apb { |
43 | #address-cells = <1>; | 52 | #address-cells = <1>; |
44 | #size-cells = <1>; | 53 | #size-cells = <1>; |
@@ -49,32 +58,61 @@ | |||
49 | serial@b2000000 { | 58 | serial@b2000000 { |
50 | compatible = "arm,pl011", "arm,primecell"; | 59 | compatible = "arm,pl011", "arm,primecell"; |
51 | reg = <0xb2000000 0x1000>; | 60 | reg = <0xb2000000 0x1000>; |
61 | interrupts = <8>; | ||
62 | interrupt-parent = <&shirq>; | ||
52 | status = "disabled"; | 63 | status = "disabled"; |
53 | }; | 64 | }; |
54 | 65 | ||
55 | serial@b2080000 { | 66 | serial@b2080000 { |
56 | compatible = "arm,pl011", "arm,primecell"; | 67 | compatible = "arm,pl011", "arm,primecell"; |
57 | reg = <0xb2080000 0x1000>; | 68 | reg = <0xb2080000 0x1000>; |
69 | interrupts = <9>; | ||
70 | interrupt-parent = <&shirq>; | ||
58 | status = "disabled"; | 71 | status = "disabled"; |
59 | }; | 72 | }; |
60 | 73 | ||
61 | serial@b2100000 { | 74 | serial@b2100000 { |
62 | compatible = "arm,pl011", "arm,primecell"; | 75 | compatible = "arm,pl011", "arm,primecell"; |
63 | reg = <0xb2100000 0x1000>; | 76 | reg = <0xb2100000 0x1000>; |
77 | interrupts = <10>; | ||
78 | interrupt-parent = <&shirq>; | ||
64 | status = "disabled"; | 79 | status = "disabled"; |
65 | }; | 80 | }; |
66 | 81 | ||
67 | serial@b2180000 { | 82 | serial@b2180000 { |
68 | compatible = "arm,pl011", "arm,primecell"; | 83 | compatible = "arm,pl011", "arm,primecell"; |
69 | reg = <0xb2180000 0x1000>; | 84 | reg = <0xb2180000 0x1000>; |
85 | interrupts = <11>; | ||
86 | interrupt-parent = <&shirq>; | ||
70 | status = "disabled"; | 87 | status = "disabled"; |
71 | }; | 88 | }; |
72 | 89 | ||
73 | serial@b2200000 { | 90 | serial@b2200000 { |
74 | compatible = "arm,pl011", "arm,primecell"; | 91 | compatible = "arm,pl011", "arm,primecell"; |
75 | reg = <0xb2200000 0x1000>; | 92 | reg = <0xb2200000 0x1000>; |
93 | interrupts = <12>; | ||
94 | interrupt-parent = <&shirq>; | ||
76 | status = "disabled"; | 95 | status = "disabled"; |
77 | }; | 96 | }; |
97 | |||
98 | gpiopinctrl: gpio@b4000000 { | ||
99 | compatible = "st,spear-plgpio"; | ||
100 | reg = <0xb4000000 0x1000>; | ||
101 | #interrupt-cells = <1>; | ||
102 | interrupt-controller; | ||
103 | gpio-controller; | ||
104 | #gpio-cells = <2>; | ||
105 | gpio-ranges = <&pinmux 0 102>; | ||
106 | status = "disabled"; | ||
107 | |||
108 | st-plgpio,ngpio = <102>; | ||
109 | st-plgpio,enb-reg = <0x10>; | ||
110 | st-plgpio,wdata-reg = <0x20>; | ||
111 | st-plgpio,dir-reg = <0x30>; | ||
112 | st-plgpio,ie-reg = <0x50>; | ||
113 | st-plgpio,rdata-reg = <0x40>; | ||
114 | st-plgpio,mis-reg = <0x60>; | ||
115 | }; | ||
78 | }; | 116 | }; |
79 | }; | 117 | }; |
80 | }; | 118 | }; |