xref: /linux/arch/arm/boot/dts/marvell/pxa168.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2*724ba675SRob Herring/*
3*724ba675SRob Herring *  Copyright (C) 2012 Marvell Technology Group Ltd.
4*724ba675SRob Herring *  Author: Haojian Zhuang <haojian.zhuang@marvell.com>
5*724ba675SRob Herring */
6*724ba675SRob Herring
7*724ba675SRob Herring#include <dt-bindings/clock/marvell,pxa168.h>
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	#address-cells = <1>;
11*724ba675SRob Herring	#size-cells = <1>;
12*724ba675SRob Herring
13*724ba675SRob Herring	aliases {
14*724ba675SRob Herring		serial0 = &uart1;
15*724ba675SRob Herring		serial1 = &uart2;
16*724ba675SRob Herring		serial2 = &uart3;
17*724ba675SRob Herring		i2c0 = &twsi1;
18*724ba675SRob Herring		i2c1 = &twsi2;
19*724ba675SRob Herring	};
20*724ba675SRob Herring
21*724ba675SRob Herring	soc {
22*724ba675SRob Herring		#address-cells = <1>;
23*724ba675SRob Herring		#size-cells = <1>;
24*724ba675SRob Herring		compatible = "simple-bus";
25*724ba675SRob Herring		interrupt-parent = <&intc>;
26*724ba675SRob Herring		ranges;
27*724ba675SRob Herring
28*724ba675SRob Herring		axi@d4200000 {	/* AXI */
29*724ba675SRob Herring			compatible = "mrvl,axi-bus", "simple-bus";
30*724ba675SRob Herring			#address-cells = <1>;
31*724ba675SRob Herring			#size-cells = <1>;
32*724ba675SRob Herring			reg = <0xd4200000 0x00200000>;
33*724ba675SRob Herring			ranges;
34*724ba675SRob Herring
35*724ba675SRob Herring			intc: interrupt-controller@d4282000 {
36*724ba675SRob Herring				compatible = "mrvl,mmp-intc";
37*724ba675SRob Herring				interrupt-controller;
38*724ba675SRob Herring				#interrupt-cells = <1>;
39*724ba675SRob Herring				reg = <0xd4282000 0x1000>;
40*724ba675SRob Herring				mrvl,intc-nr-irqs = <64>;
41*724ba675SRob Herring			};
42*724ba675SRob Herring
43*724ba675SRob Herring		};
44*724ba675SRob Herring
45*724ba675SRob Herring		apb@d4000000 {	/* APB */
46*724ba675SRob Herring			compatible = "mrvl,apb-bus", "simple-bus";
47*724ba675SRob Herring			#address-cells = <1>;
48*724ba675SRob Herring			#size-cells = <1>;
49*724ba675SRob Herring			reg = <0xd4000000 0x00200000>;
50*724ba675SRob Herring			ranges;
51*724ba675SRob Herring
52*724ba675SRob Herring			timer0: timer@d4014000 {
53*724ba675SRob Herring				compatible = "mrvl,mmp-timer";
54*724ba675SRob Herring				reg = <0xd4014000 0x100>;
55*724ba675SRob Herring				interrupts = <13>;
56*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_TIMER>;
57*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_TIMER>;
58*724ba675SRob Herring			};
59*724ba675SRob Herring
60*724ba675SRob Herring			uart1: serial@d4017000 {
61*724ba675SRob Herring				compatible = "mrvl,mmp-uart", "intel,xscale-uart";
62*724ba675SRob Herring				reg = <0xd4017000 0x1000>;
63*724ba675SRob Herring				reg-shift = <2>;
64*724ba675SRob Herring				interrupts = <27>;
65*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_UART0>;
66*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_UART0>;
67*724ba675SRob Herring				status = "disabled";
68*724ba675SRob Herring			};
69*724ba675SRob Herring
70*724ba675SRob Herring			uart2: serial@d4018000 {
71*724ba675SRob Herring				compatible = "mrvl,mmp-uart", "intel,xscale-uart";
72*724ba675SRob Herring				reg = <0xd4018000 0x1000>;
73*724ba675SRob Herring				reg-shift = <2>;
74*724ba675SRob Herring				interrupts = <28>;
75*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_UART1>;
76*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_UART1>;
77*724ba675SRob Herring				status = "disabled";
78*724ba675SRob Herring			};
79*724ba675SRob Herring
80*724ba675SRob Herring			uart3: serial@d4026000 {
81*724ba675SRob Herring				compatible = "mrvl,mmp-uart", "intel,xscale-uart";
82*724ba675SRob Herring				reg = <0xd4026000 0x1000>;
83*724ba675SRob Herring				reg-shift = <2>;
84*724ba675SRob Herring				interrupts = <29>;
85*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_UART2>;
86*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_UART2>;
87*724ba675SRob Herring				status = "disabled";
88*724ba675SRob Herring			};
89*724ba675SRob Herring
90*724ba675SRob Herring			gpio@d4019000 {
91*724ba675SRob Herring				compatible = "marvell,mmp-gpio";
92*724ba675SRob Herring				#address-cells = <1>;
93*724ba675SRob Herring				#size-cells = <1>;
94*724ba675SRob Herring				reg = <0xd4019000 0x1000>;
95*724ba675SRob Herring				gpio-controller;
96*724ba675SRob Herring				#gpio-cells = <2>;
97*724ba675SRob Herring				interrupts = <49>;
98*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_GPIO>;
99*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_GPIO>;
100*724ba675SRob Herring				interrupt-names = "gpio_mux";
101*724ba675SRob Herring				interrupt-controller;
102*724ba675SRob Herring				#interrupt-cells = <2>;
103*724ba675SRob Herring				ranges;
104*724ba675SRob Herring
105*724ba675SRob Herring				gcb0: gpio@d4019000 {
106*724ba675SRob Herring					reg = <0xd4019000 0x4>;
107*724ba675SRob Herring				};
108*724ba675SRob Herring
109*724ba675SRob Herring				gcb1: gpio@d4019004 {
110*724ba675SRob Herring					reg = <0xd4019004 0x4>;
111*724ba675SRob Herring				};
112*724ba675SRob Herring
113*724ba675SRob Herring				gcb2: gpio@d4019008 {
114*724ba675SRob Herring					reg = <0xd4019008 0x4>;
115*724ba675SRob Herring				};
116*724ba675SRob Herring
117*724ba675SRob Herring				gcb3: gpio@d4019100 {
118*724ba675SRob Herring					reg = <0xd4019100 0x4>;
119*724ba675SRob Herring				};
120*724ba675SRob Herring			};
121*724ba675SRob Herring
122*724ba675SRob Herring			twsi1: i2c@d4011000 {
123*724ba675SRob Herring				compatible = "mrvl,mmp-twsi";
124*724ba675SRob Herring				#address-cells = <1>;
125*724ba675SRob Herring				#size-cells = <0>;
126*724ba675SRob Herring				reg = <0xd4011000 0x1000>;
127*724ba675SRob Herring				interrupts = <7>;
128*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_TWSI0>;
129*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_TWSI0>;
130*724ba675SRob Herring				mrvl,i2c-fast-mode;
131*724ba675SRob Herring				status = "disabled";
132*724ba675SRob Herring			};
133*724ba675SRob Herring
134*724ba675SRob Herring			twsi2: i2c@d4025000 {
135*724ba675SRob Herring				compatible = "mrvl,mmp-twsi";
136*724ba675SRob Herring				#address-cells = <1>;
137*724ba675SRob Herring				#size-cells = <0>;
138*724ba675SRob Herring				reg = <0xd4025000 0x1000>;
139*724ba675SRob Herring				interrupts = <58>;
140*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_TWSI1>;
141*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_TWSI1>;
142*724ba675SRob Herring				status = "disabled";
143*724ba675SRob Herring			};
144*724ba675SRob Herring
145*724ba675SRob Herring			rtc: rtc@d4010000 {
146*724ba675SRob Herring				compatible = "mrvl,mmp-rtc";
147*724ba675SRob Herring				reg = <0xd4010000 0x1000>;
148*724ba675SRob Herring				interrupts = <5>, <6>;
149*724ba675SRob Herring				interrupt-names = "rtc 1Hz", "rtc alarm";
150*724ba675SRob Herring				clocks = <&soc_clocks PXA168_CLK_RTC>;
151*724ba675SRob Herring				resets = <&soc_clocks PXA168_CLK_RTC>;
152*724ba675SRob Herring				status = "disabled";
153*724ba675SRob Herring			};
154*724ba675SRob Herring		};
155*724ba675SRob Herring
156*724ba675SRob Herring		soc_clocks: clocks{
157*724ba675SRob Herring			compatible = "marvell,pxa168-clock";
158*724ba675SRob Herring			reg = <0xd4050000 0x1000>,
159*724ba675SRob Herring			      <0xd4282800 0x400>,
160*724ba675SRob Herring			      <0xd4015000 0x1000>;
161*724ba675SRob Herring			reg-names = "mpmu", "apmu", "apbc";
162*724ba675SRob Herring			#clock-cells = <1>;
163*724ba675SRob Herring			#reset-cells = <1>;
164*724ba675SRob Herring		};
165*724ba675SRob Herring	};
166*724ba675SRob Herring};
167