2019-05-30 06:57:46 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
2012-03-01 12:26:15 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Marvell Technology Group Ltd.
|
|
|
|
* Author: Haojian Zhuang <haojian.zhuang@marvell.com>
|
|
|
|
*/
|
|
|
|
|
2014-10-31 09:13:53 +07:00
|
|
|
#include <dt-bindings/clock/marvell,pxa168.h>
|
2012-03-01 12:26:15 +07:00
|
|
|
|
|
|
|
/ {
|
2019-01-09 23:26:14 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2012-03-01 12:26:15 +07:00
|
|
|
aliases {
|
|
|
|
serial0 = &uart1;
|
|
|
|
serial1 = &uart2;
|
|
|
|
serial2 = &uart3;
|
|
|
|
i2c0 = &twsi1;
|
|
|
|
i2c1 = &twsi2;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
ranges;
|
|
|
|
|
2012-04-19 17:44:50 +07:00
|
|
|
axi@d4200000 { /* AXI */
|
|
|
|
compatible = "mrvl,axi-bus", "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0xd4200000 0x00200000>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
intc: interrupt-controller@d4282000 {
|
|
|
|
compatible = "mrvl,mmp-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0xd4282000 0x1000>;
|
|
|
|
mrvl,intc-nr-irqs = <64>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2012-03-01 12:26:15 +07:00
|
|
|
apb@d4000000 { /* APB */
|
|
|
|
compatible = "mrvl,apb-bus", "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0xd4000000 0x00200000>;
|
|
|
|
ranges;
|
|
|
|
|
2012-04-19 17:44:50 +07:00
|
|
|
timer0: timer@d4014000 {
|
|
|
|
compatible = "mrvl,mmp-timer";
|
|
|
|
reg = <0xd4014000 0x100>;
|
|
|
|
interrupts = <13>;
|
|
|
|
};
|
|
|
|
|
2020-03-21 00:40:59 +07:00
|
|
|
uart1: serial@d4017000 {
|
2020-03-21 00:41:00 +07:00
|
|
|
compatible = "mrvl,mmp-uart", "intel,xscale-uart";
|
2012-03-01 12:26:15 +07:00
|
|
|
reg = <0xd4017000 0x1000>;
|
2020-03-21 00:41:00 +07:00
|
|
|
reg-shift = <2>;
|
2012-03-01 12:26:15 +07:00
|
|
|
interrupts = <27>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks PXA168_CLK_UART0>;
|
|
|
|
resets = <&soc_clocks PXA168_CLK_UART0>;
|
2012-03-01 12:26:15 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-03-21 00:40:59 +07:00
|
|
|
uart2: serial@d4018000 {
|
2020-03-21 00:41:00 +07:00
|
|
|
compatible = "mrvl,mmp-uart", "intel,xscale-uart";
|
2012-03-01 12:26:15 +07:00
|
|
|
reg = <0xd4018000 0x1000>;
|
2020-03-21 00:41:00 +07:00
|
|
|
reg-shift = <2>;
|
2012-03-01 12:26:15 +07:00
|
|
|
interrupts = <28>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks PXA168_CLK_UART1>;
|
|
|
|
resets = <&soc_clocks PXA168_CLK_UART1>;
|
2012-03-01 12:26:15 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-03-21 00:40:59 +07:00
|
|
|
uart3: serial@d4026000 {
|
2020-03-21 00:41:00 +07:00
|
|
|
compatible = "mrvl,mmp-uart", "intel,xscale-uart";
|
2012-03-01 12:26:15 +07:00
|
|
|
reg = <0xd4026000 0x1000>;
|
2020-03-21 00:41:00 +07:00
|
|
|
reg-shift = <2>;
|
2012-03-01 12:26:15 +07:00
|
|
|
interrupts = <29>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks PXA168_CLK_UART2>;
|
|
|
|
resets = <&soc_clocks PXA168_CLK_UART2>;
|
2012-03-01 12:26:15 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-04-19 17:44:50 +07:00
|
|
|
gpio@d4019000 {
|
2013-04-09 21:27:50 +07:00
|
|
|
compatible = "marvell,mmp-gpio";
|
2012-04-19 17:44:50 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2012-03-01 12:26:15 +07:00
|
|
|
reg = <0xd4019000 0x1000>;
|
2012-04-19 17:44:50 +07:00
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
2012-03-01 12:26:15 +07:00
|
|
|
interrupts = <49>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks PXA168_CLK_GPIO>;
|
|
|
|
resets = <&soc_clocks PXA168_CLK_GPIO>;
|
2012-03-01 12:26:15 +07:00
|
|
|
interrupt-names = "gpio_mux";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
2012-04-19 17:44:50 +07:00
|
|
|
ranges;
|
|
|
|
|
|
|
|
gcb0: gpio@d4019000 {
|
|
|
|
reg = <0xd4019000 0x4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gcb1: gpio@d4019004 {
|
|
|
|
reg = <0xd4019004 0x4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gcb2: gpio@d4019008 {
|
|
|
|
reg = <0xd4019008 0x4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gcb3: gpio@d4019100 {
|
|
|
|
reg = <0xd4019100 0x4>;
|
|
|
|
};
|
2012-03-01 12:26:15 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
twsi1: i2c@d4011000 {
|
2012-04-19 17:44:50 +07:00
|
|
|
compatible = "mrvl,mmp-twsi";
|
2012-03-01 12:26:15 +07:00
|
|
|
reg = <0xd4011000 0x1000>;
|
|
|
|
interrupts = <7>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks PXA168_CLK_TWSI0>;
|
|
|
|
resets = <&soc_clocks PXA168_CLK_TWSI0>;
|
2012-03-01 12:26:15 +07:00
|
|
|
mrvl,i2c-fast-mode;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
twsi2: i2c@d4025000 {
|
2012-04-19 17:44:50 +07:00
|
|
|
compatible = "mrvl,mmp-twsi";
|
2012-03-01 12:26:15 +07:00
|
|
|
reg = <0xd4025000 0x1000>;
|
|
|
|
interrupts = <58>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks PXA168_CLK_TWSI1>;
|
|
|
|
resets = <&soc_clocks PXA168_CLK_TWSI1>;
|
2012-03-01 12:26:15 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
rtc: rtc@d4010000 {
|
|
|
|
compatible = "mrvl,mmp-rtc";
|
|
|
|
reg = <0xd4010000 0x1000>;
|
|
|
|
interrupts = <5 6>;
|
|
|
|
interrupt-names = "rtc 1Hz", "rtc alarm";
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks PXA168_CLK_RTC>;
|
|
|
|
resets = <&soc_clocks PXA168_CLK_RTC>;
|
2012-03-01 12:26:15 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
2014-10-31 09:13:53 +07:00
|
|
|
|
|
|
|
soc_clocks: clocks{
|
|
|
|
compatible = "marvell,pxa168-clock";
|
|
|
|
reg = <0xd4050000 0x1000>,
|
|
|
|
<0xd4282800 0x400>,
|
|
|
|
<0xd4015000 0x1000>;
|
|
|
|
reg-names = "mpmu", "apmu", "apbc";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|
2012-03-01 12:26:15 +07:00
|
|
|
};
|
|
|
|
};
|