2012-04-19 17:44:50 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Marvell Technology Group Ltd.
|
|
|
|
* Author: Haojian Zhuang <haojian.zhuang@marvell.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* publishhed by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
2014-10-31 09:13:53 +07:00
|
|
|
#include <dt-bindings/clock/marvell,mmp2.h>
|
2012-04-19 17:44:50 +07:00
|
|
|
|
|
|
|
/ {
|
2019-01-09 23:26:14 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2012-04-19 17:44:50 +07:00
|
|
|
aliases {
|
|
|
|
serial0 = &uart1;
|
|
|
|
serial1 = &uart2;
|
|
|
|
serial2 = &uart3;
|
|
|
|
serial3 = &uart4;
|
|
|
|
i2c0 = &twsi1;
|
|
|
|
i2c1 = &twsi2;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
ranges;
|
|
|
|
|
2012-08-05 09:28:30 +07:00
|
|
|
L2: l2-cache {
|
|
|
|
compatible = "marvell,tauros2-cache";
|
|
|
|
marvell,tauros2-cache-features = <0x3>;
|
|
|
|
};
|
|
|
|
|
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,mmp2-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0xd4282000 0x1000>;
|
|
|
|
mrvl,intc-nr-irqs = <64>;
|
|
|
|
};
|
|
|
|
|
2013-02-04 22:40:46 +07:00
|
|
|
intcmux4: interrupt-controller@d4282150 {
|
2012-04-19 17:44:50 +07:00
|
|
|
compatible = "mrvl,mmp2-mux-intc";
|
|
|
|
interrupts = <4>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x150 0x4>, <0x168 0x4>;
|
|
|
|
reg-names = "mux status", "mux mask";
|
|
|
|
mrvl,intc-nr-irqs = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
intcmux5: interrupt-controller@d4282154 {
|
|
|
|
compatible = "mrvl,mmp2-mux-intc";
|
|
|
|
interrupts = <5>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x154 0x4>, <0x16c 0x4>;
|
|
|
|
reg-names = "mux status", "mux mask";
|
|
|
|
mrvl,intc-nr-irqs = <2>;
|
|
|
|
mrvl,clr-mfp-irq = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
intcmux9: interrupt-controller@d4282180 {
|
|
|
|
compatible = "mrvl,mmp2-mux-intc";
|
|
|
|
interrupts = <9>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x180 0x4>, <0x17c 0x4>;
|
|
|
|
reg-names = "mux status", "mux mask";
|
|
|
|
mrvl,intc-nr-irqs = <3>;
|
|
|
|
};
|
|
|
|
|
|
|
|
intcmux17: interrupt-controller@d4282158 {
|
|
|
|
compatible = "mrvl,mmp2-mux-intc";
|
|
|
|
interrupts = <17>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x158 0x4>, <0x170 0x4>;
|
|
|
|
reg-names = "mux status", "mux mask";
|
|
|
|
mrvl,intc-nr-irqs = <5>;
|
|
|
|
};
|
|
|
|
|
|
|
|
intcmux35: interrupt-controller@d428215c {
|
|
|
|
compatible = "mrvl,mmp2-mux-intc";
|
|
|
|
interrupts = <35>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x15c 0x4>, <0x174 0x4>;
|
|
|
|
reg-names = "mux status", "mux mask";
|
|
|
|
mrvl,intc-nr-irqs = <15>;
|
|
|
|
};
|
|
|
|
|
|
|
|
intcmux51: interrupt-controller@d4282160 {
|
|
|
|
compatible = "mrvl,mmp2-mux-intc";
|
|
|
|
interrupts = <51>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x160 0x4>, <0x178 0x4>;
|
|
|
|
reg-names = "mux status", "mux mask";
|
|
|
|
mrvl,intc-nr-irqs = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
intcmux55: interrupt-controller@d4282188 {
|
|
|
|
compatible = "mrvl,mmp2-mux-intc";
|
|
|
|
interrupts = <55>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0x188 0x4>, <0x184 0x4>;
|
|
|
|
reg-names = "mux status", "mux mask";
|
|
|
|
mrvl,intc-nr-irqs = <2>;
|
|
|
|
};
|
2018-11-29 00:53:09 +07:00
|
|
|
|
2018-11-29 00:53:12 +07:00
|
|
|
usb_otg_phy0: usb-otg-phy@d4207000 {
|
|
|
|
compatible = "marvell,mmp2-usb-phy";
|
|
|
|
reg = <0xd4207000 0x40>;
|
|
|
|
#phy-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-11-29 00:53:13 +07:00
|
|
|
usb_otg0: usb-otg@d4208000 {
|
|
|
|
compatible = "marvell,pxau2o-ehci";
|
|
|
|
reg = <0xd4208000 0x200>;
|
|
|
|
interrupts = <44>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_USB>;
|
|
|
|
clock-names = "USBCLK";
|
|
|
|
phys = <&usb_otg_phy0>;
|
|
|
|
phy-names = "usb";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-11-29 00:53:09 +07:00
|
|
|
mmc1: mmc@d4280000 {
|
|
|
|
compatible = "mrvl,pxav3-mmc";
|
|
|
|
reg = <0xd4280000 0x120>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SDH0>;
|
|
|
|
clock-names = "io";
|
|
|
|
interrupts = <39>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
mmc2: mmc@d4280800 {
|
|
|
|
compatible = "mrvl,pxav3-mmc";
|
|
|
|
reg = <0xd4280800 0x120>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SDH1>;
|
|
|
|
clock-names = "io";
|
|
|
|
interrupts = <52>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
mmc3: mmc@d4281000 {
|
|
|
|
compatible = "mrvl,pxav3-mmc";
|
|
|
|
reg = <0xd4281000 0x120>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SDH2>;
|
|
|
|
clock-names = "io";
|
|
|
|
interrupts = <53>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
mmc4: mmc@d4281800 {
|
|
|
|
compatible = "mrvl,pxav3-mmc";
|
|
|
|
reg = <0xd4281800 0x120>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SDH3>;
|
|
|
|
clock-names = "io";
|
|
|
|
interrupts = <54>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-04-19 17:44:50 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
apb@d4000000 { /* APB */
|
|
|
|
compatible = "mrvl,apb-bus", "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0xd4000000 0x00200000>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
timer0: timer@d4014000 {
|
|
|
|
compatible = "mrvl,mmp-timer";
|
|
|
|
reg = <0xd4014000 0x100>;
|
|
|
|
interrupts = <13>;
|
2018-11-29 00:53:08 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_TIMER>;
|
2012-04-19 17:44:50 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
uart1: uart@d4030000 {
|
|
|
|
compatible = "mrvl,mmp-uart";
|
|
|
|
reg = <0xd4030000 0x1000>;
|
|
|
|
interrupts = <27>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_UART0>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_UART0>;
|
2012-04-19 17:44:50 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart2: uart@d4017000 {
|
|
|
|
compatible = "mrvl,mmp-uart";
|
|
|
|
reg = <0xd4017000 0x1000>;
|
|
|
|
interrupts = <28>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_UART1>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_UART1>;
|
2012-04-19 17:44:50 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart3: uart@d4018000 {
|
|
|
|
compatible = "mrvl,mmp-uart";
|
|
|
|
reg = <0xd4018000 0x1000>;
|
|
|
|
interrupts = <24>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_UART2>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_UART2>;
|
2012-04-19 17:44:50 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart4: uart@d4016000 {
|
|
|
|
compatible = "mrvl,mmp-uart";
|
|
|
|
reg = <0xd4016000 0x1000>;
|
|
|
|
interrupts = <46>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_UART3>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_UART3>;
|
2012-04-19 17:44:50 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-11-29 00:53:07 +07:00
|
|
|
gpio: gpio@d4019000 {
|
2013-04-09 21:27:50 +07:00
|
|
|
compatible = "marvell,mmp2-gpio";
|
2012-04-19 17:44:50 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0xd4019000 0x1000>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
interrupts = <49>;
|
|
|
|
interrupt-names = "gpio_mux";
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_GPIO>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_GPIO>;
|
2012-04-19 17:44:50 +07:00
|
|
|
interrupt-controller;
|
2018-11-29 00:53:06 +07:00
|
|
|
#interrupt-cells = <2>;
|
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>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gcb4: gpio@d4019104 {
|
|
|
|
reg = <0xd4019104 0x4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gcb5: gpio@d4019108 {
|
|
|
|
reg = <0xd4019108 0x4>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
twsi1: i2c@d4011000 {
|
|
|
|
compatible = "mrvl,mmp-twsi";
|
|
|
|
reg = <0xd4011000 0x1000>;
|
|
|
|
interrupts = <7>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_TWSI0>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_TWSI0>;
|
2013-02-04 22:40:46 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-04-19 17:44:50 +07:00
|
|
|
mrvl,i2c-fast-mode;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-11-29 00:53:10 +07:00
|
|
|
twsi2: i2c@d4031000 {
|
2012-04-19 17:44:50 +07:00
|
|
|
compatible = "mrvl,mmp-twsi";
|
2018-11-29 00:53:10 +07:00
|
|
|
reg = <0xd4031000 0x1000>;
|
|
|
|
interrupt-parent = <&intcmux17>;
|
|
|
|
interrupts = <0>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_TWSI1>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_TWSI1>;
|
2018-11-29 00:53:10 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-04-19 17:44:50 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2018-11-29 00:53:11 +07:00
|
|
|
twsi3: i2c@d4032000 {
|
|
|
|
compatible = "mrvl,mmp-twsi";
|
|
|
|
reg = <0xd4032000 0x1000>;
|
|
|
|
interrupt-parent = <&intcmux17>;
|
|
|
|
interrupts = <1>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_TWSI2>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_TWSI2>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
twsi4: i2c@d4033000 {
|
|
|
|
compatible = "mrvl,mmp-twsi";
|
|
|
|
reg = <0xd4033000 0x1000>;
|
|
|
|
interrupt-parent = <&intcmux17>;
|
|
|
|
interrupts = <2>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_TWSI3>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_TWSI3>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
twsi5: i2c@d4033800 {
|
|
|
|
compatible = "mrvl,mmp-twsi";
|
|
|
|
reg = <0xd4033800 0x1000>;
|
|
|
|
interrupt-parent = <&intcmux17>;
|
|
|
|
interrupts = <3>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_TWSI4>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_TWSI4>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
twsi6: i2c@d4034000 {
|
|
|
|
compatible = "mrvl,mmp-twsi";
|
|
|
|
reg = <0xd4034000 0x1000>;
|
|
|
|
interrupt-parent = <&intcmux17>;
|
|
|
|
interrupts = <4>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_TWSI5>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_TWSI5>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-04-19 17:44:50 +07:00
|
|
|
rtc: rtc@d4010000 {
|
|
|
|
compatible = "mrvl,mmp-rtc";
|
|
|
|
reg = <0xd4010000 0x1000>;
|
|
|
|
interrupts = <1 0>;
|
|
|
|
interrupt-names = "rtc 1Hz", "rtc alarm";
|
|
|
|
interrupt-parent = <&intcmux5>;
|
2014-10-31 09:13:53 +07:00
|
|
|
clocks = <&soc_clocks MMP2_CLK_RTC>;
|
|
|
|
resets = <&soc_clocks MMP2_CLK_RTC>;
|
2012-04-19 17:44:50 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2018-11-29 00:53:14 +07:00
|
|
|
|
|
|
|
ssp1: ssp@d4035000 {
|
|
|
|
compatible = "marvell,mmp2-ssp";
|
|
|
|
reg = <0xd4035000 0x1000>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SSP0>;
|
|
|
|
interrupts = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
ssp2: ssp@d4036000 {
|
|
|
|
compatible = "marvell,mmp2-ssp";
|
|
|
|
reg = <0xd4036000 0x1000>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SSP1>;
|
|
|
|
interrupts = <1>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
ssp3: ssp@d4037000 {
|
|
|
|
compatible = "marvell,mmp2-ssp";
|
|
|
|
reg = <0xd4037000 0x1000>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SSP2>;
|
|
|
|
interrupts = <20>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
ssp4: ssp@d4039000 {
|
|
|
|
compatible = "marvell,mmp2-ssp";
|
|
|
|
reg = <0xd4039000 0x1000>;
|
|
|
|
clocks = <&soc_clocks MMP2_CLK_SSP3>;
|
|
|
|
interrupts = <21>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-04-19 17:44:50 +07:00
|
|
|
};
|
2014-10-31 09:13:53 +07:00
|
|
|
|
|
|
|
soc_clocks: clocks{
|
|
|
|
compatible = "marvell,mmp2-clock";
|
|
|
|
reg = <0xd4050000 0x1000>,
|
|
|
|
<0xd4282800 0x400>,
|
|
|
|
<0xd4015000 0x1000>;
|
|
|
|
reg-names = "mpmu", "apmu", "apbc";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|
2012-04-19 17:44:50 +07:00
|
|
|
};
|
|
|
|
};
|