aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-a23.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a23.dtsi')
-rw-r--r--arch/arm/boot/dts/sun8i-a23.dtsi47
1 files changed, 46 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun8i-a23.dtsi b/arch/arm/boot/dts/sun8i-a23.dtsi
index 886776d09c06..54ac0787216a 100644
--- a/arch/arm/boot/dts/sun8i-a23.dtsi
+++ b/arch/arm/boot/dts/sun8i-a23.dtsi
@@ -285,13 +285,58 @@
285 interrupts = <1 9 0xf04>; 285 interrupts = <1 9 0xf04>;
286 }; 286 };
287 287
288 prcm@01f01400 {
289 compatible = "allwinner,sun8i-a23-prcm";
290 reg = <0x01f01400 0x200>;
291
292 ar100: ar100_clk {
293 compatible = "fixed-factor-clock";
294 #clock-cells = <0>;
295 clock-div = <1>;
296 clock-mult = <1>;
297 clocks = <&osc24M>;
298 clock-output-names = "ar100";
299 };
300
301 ahb0: ahb0_clk {
302 compatible = "fixed-factor-clock";
303 #clock-cells = <0>;
304 clock-div = <1>;
305 clock-mult = <1>;
306 clocks = <&ar100>;
307 clock-output-names = "ahb0";
308 };
309
310 apb0: apb0_clk {
311 compatible = "allwinner,sun8i-a23-apb0-clk";
312 #clock-cells = <0>;
313 clocks = <&ahb0>;
314 clock-output-names = "apb0";
315 };
316
317 apb0_gates: apb0_gates_clk {
318 compatible = "allwinner,sun8i-a23-apb0-gates-clk";
319 #clock-cells = <1>;
320 clocks = <&apb0>;
321 clock-output-names = "apb0_pio", "apb0_timer",
322 "apb0_rsb", "apb0_uart",
323 "apb0_i2c";
324 };
325
326 apb0_rst: apb0_rst {
327 compatible = "allwinner,sun6i-a31-clock-reset";
328 #reset-cells = <1>;
329 };
330 };
331
288 r_uart: serial@01f02800 { 332 r_uart: serial@01f02800 {
289 compatible = "snps,dw-apb-uart"; 333 compatible = "snps,dw-apb-uart";
290 reg = <0x01f02800 0x400>; 334 reg = <0x01f02800 0x400>;
291 interrupts = <0 38 4>; 335 interrupts = <0 38 4>;
292 reg-shift = <2>; 336 reg-shift = <2>;
293 reg-io-width = <4>; 337 reg-io-width = <4>;
294 clocks = <&osc24M>; 338 clocks = <&apb0_gates 4>;
339 resets = <&apb0_rst 4>;
295 status = "disabled"; 340 status = "disabled";
296 }; 341 };
297 }; 342 };