]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/arm/boot/dts/pxa25x.dtsi
Merge tag 'socfpga_updates_for_v4.20_part3' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-focal-kernel.git] / arch / arm / boot / dts / pxa25x.dtsi
CommitLineData
209f4d7a
RJ
1/*
2 * Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11#include "pxa2xx.dtsi"
12#include "dt-bindings/clock/pxa-clock.h"
13
14/ {
15 model = "Marvell PXA25x family SoC";
16 compatible = "marvell,pxa250";
17
18 clocks {
19 /*
20 * The muxing of external clocks/internal dividers for osc* clock
21 * sources has been hidden under the carpet by now.
22 */
23 #address-cells = <1>;
24 #size-cells = <1>;
25 ranges;
26
27 clks: pxa2xx_clks@41300004 {
28 compatible = "marvell,pxa250-core-clocks";
29 #clock-cells = <1>;
30 status = "okay";
31 };
32
33 /* timer oscillator */
34 clktimer: oscillator {
35 compatible = "fixed-clock";
36 #clock-cells = <0>;
37 clock-frequency = <3686400>;
38 clock-output-names = "ostimer";
39 };
40 };
41
42 pxabus {
43 pdma: dma-controller@40000000 {
44 compatible = "marvell,pdma-1.0";
45 reg = <0x40000000 0x10000>;
46 interrupts = <25>;
47 #dma-channels = <16>;
48 #dma-cells = <2>;
49 #dma-requests = <40>;
50 status = "okay";
51 };
52
53 pxairq: interrupt-controller@40d00000 {
54 marvell,intc-priority;
55 marvell,intc-nr-irqs = <32>;
56 };
57
58 pinctrl: pinctrl@40e00000 {
59 reg = <0x40e00054 0x20 0x40e0000c 0xc 0x40e0010c 4
60 0x40f00020 0x10>;
61 compatible = "marvell,pxa25x-pinctrl";
62 };
63
64 gpio: gpio@40e00000 {
65 compatible = "intel,pxa25x-gpio";
66 gpio-ranges = <&pinctrl 0 0 84>;
67 clocks = <&clks CLK_NONE>;
68 };
69
70 pwm0: pwm@40b00000 {
71 compatible = "marvell,pxa250-pwm";
72 reg = <0x40b00000 0x10>;
73 #pwm-cells = <1>;
74 clocks = <&clks CLK_PWM0>;
75 };
76
77 pwm1: pwm@40b00010 {
78 compatible = "marvell,pxa250-pwm";
79 reg = <0x40b00010 0x10>;
80 #pwm-cells = <1>;
81 clocks = <&clks CLK_PWM1>;
82 };
24a610eb
RJ
83
84 rtc@40900000 {
85 clocks = <&clks CLK_OSC32k768>;
86 };
209f4d7a
RJ
87 };
88
89 timer@40a00000 {
90 compatible = "marvell,pxa-timer";
91 reg = <0x40a00000 0x20>;
92 interrupts = <26>;
93 clocks = <&clktimer>;
94 status = "okay";
95 };
93ab7c84
RJ
96
97 pxa250_opp_table: opp_table0 {
98 compatible = "operating-points-v2";
99
a8702719 100 opp-99532800 {
93ab7c84
RJ
101 opp-hz = /bits/ 64 <99532800>;
102 opp-microvolt = <1000000 950000 1650000>;
103 clock-latency-ns = <20>;
104 };
a8702719 105 opp-199065600 {
93ab7c84
RJ
106 opp-hz = /bits/ 64 <199065600>;
107 opp-microvolt = <1000000 950000 1650000>;
108 clock-latency-ns = <20>;
109 };
a8702719 110 opp-298598400 {
93ab7c84
RJ
111 opp-hz = /bits/ 64 <298598400>;
112 opp-microvolt = <1100000 1045000 1650000>;
113 clock-latency-ns = <20>;
114 };
a8702719 115 opp-398131200 {
93ab7c84
RJ
116 opp-hz = /bits/ 64 <398131200>;
117 opp-microvolt = <1300000 1235000 1650000>;
118 clock-latency-ns = <20>;
119 };
120 };
209f4d7a 121};