2018-05-08 01:23:40 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
//
|
|
|
|
// Copyright 2012 Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
|
2012-07-10 02:39:12 +07:00
|
|
|
|
|
|
|
/ {
|
2016-11-12 22:30:35 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2017-01-23 23:54:10 +07:00
|
|
|
/*
|
|
|
|
* The decompressor and also some bootloaders rely on a
|
|
|
|
* pre-existing /chosen node to be available to insert the
|
|
|
|
* command line and merge other ATAGS info.
|
|
|
|
* Also for U-Boot there must be a pre-existing /memory node.
|
|
|
|
*/
|
|
|
|
chosen {};
|
2018-01-24 20:22:13 +07:00
|
|
|
memory { device_type = "memory"; };
|
2016-11-12 22:30:35 +07:00
|
|
|
|
2012-07-10 02:39:12 +07:00
|
|
|
aliases {
|
|
|
|
serial0 = &uart1;
|
|
|
|
serial1 = &uart2;
|
|
|
|
serial2 = &uart3;
|
|
|
|
serial3 = &uart4;
|
|
|
|
serial4 = &uart5;
|
|
|
|
};
|
|
|
|
|
2013-07-07 20:12:30 +07:00
|
|
|
cpus {
|
2016-11-16 22:15:38 +07:00
|
|
|
#address-cells = <1>;
|
2013-07-07 20:12:30 +07:00
|
|
|
#size-cells = <0>;
|
|
|
|
|
2016-11-16 22:15:38 +07:00
|
|
|
cpu@0 {
|
2015-09-26 00:35:30 +07:00
|
|
|
compatible = "arm,arm1136jf-s";
|
2013-07-07 20:12:30 +07:00
|
|
|
device_type = "cpu";
|
2016-11-16 22:15:38 +07:00
|
|
|
reg = <0>;
|
2013-07-07 20:12:30 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-11-17 08:30:51 +07:00
|
|
|
avic: interrupt-controller@68000000 {
|
2012-07-10 02:39:12 +07:00
|
|
|
compatible = "fsl,imx31-avic", "fsl,avic";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
2016-11-17 08:30:51 +07:00
|
|
|
reg = <0x68000000 0x100000>;
|
2012-07-10 02:39:12 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
interrupt-parent = <&avic>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
aips@43f00000 { /* AIPS1 */
|
|
|
|
compatible = "fsl,aips-bus", "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0x43f00000 0x100000>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
uart1: serial@43f90000 {
|
|
|
|
compatible = "fsl,imx31-uart", "fsl,imx21-uart";
|
|
|
|
reg = <0x43f90000 0x4000>;
|
|
|
|
interrupts = <45>;
|
2012-11-23 02:10:46 +07:00
|
|
|
clocks = <&clks 10>, <&clks 30>;
|
|
|
|
clock-names = "ipg", "per";
|
2012-07-10 02:39:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart2: serial@43f94000 {
|
|
|
|
compatible = "fsl,imx31-uart", "fsl,imx21-uart";
|
|
|
|
reg = <0x43f94000 0x4000>;
|
|
|
|
interrupts = <32>;
|
2012-11-23 02:10:46 +07:00
|
|
|
clocks = <&clks 10>, <&clks 31>;
|
|
|
|
clock-names = "ipg", "per";
|
2012-07-10 02:39:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2016-04-15 14:54:20 +07:00
|
|
|
kpp: kpp@43fa8000 {
|
|
|
|
compatible = "fsl,imx31-kpp", "fsl,imx21-kpp";
|
|
|
|
reg = <0x43fa8000 0x4000>;
|
|
|
|
interrupts = <24>;
|
|
|
|
clocks = <&clks 46>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-07-10 02:39:12 +07:00
|
|
|
uart4: serial@43fb0000 {
|
|
|
|
compatible = "fsl,imx31-uart", "fsl,imx21-uart";
|
|
|
|
reg = <0x43fb0000 0x4000>;
|
2012-11-23 02:10:46 +07:00
|
|
|
clocks = <&clks 10>, <&clks 49>;
|
|
|
|
clock-names = "ipg", "per";
|
2012-07-10 02:39:12 +07:00
|
|
|
interrupts = <46>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart5: serial@43fb4000 {
|
|
|
|
compatible = "fsl,imx31-uart", "fsl,imx21-uart";
|
|
|
|
reg = <0x43fb4000 0x4000>;
|
|
|
|
interrupts = <47>;
|
2012-11-23 02:10:46 +07:00
|
|
|
clocks = <&clks 10>, <&clks 50>;
|
|
|
|
clock-names = "ipg", "per";
|
2012-07-10 02:39:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spba@50000000 {
|
|
|
|
compatible = "fsl,spba-bus", "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0x50000000 0x100000>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
uart3: serial@5000c000 {
|
|
|
|
compatible = "fsl,imx31-uart", "fsl,imx21-uart";
|
|
|
|
reg = <0x5000c000 0x4000>;
|
|
|
|
interrupts = <18>;
|
2012-11-23 02:10:46 +07:00
|
|
|
clocks = <&clks 10>, <&clks 48>;
|
|
|
|
clock-names = "ipg", "per";
|
2012-07-10 02:39:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-11-23 02:10:46 +07:00
|
|
|
|
2013-06-25 20:51:49 +07:00
|
|
|
iim: iim@5001c000 {
|
|
|
|
compatible = "fsl,imx31-iim", "fsl,imx27-iim";
|
|
|
|
reg = <0x5001c000 0x1000>;
|
|
|
|
interrupts = <19>;
|
|
|
|
clocks = <&clks 25>;
|
|
|
|
};
|
2012-07-10 02:39:12 +07:00
|
|
|
};
|
2013-03-14 19:08:58 +07:00
|
|
|
|
|
|
|
aips@53f00000 { /* AIPS2 */
|
|
|
|
compatible = "fsl,aips-bus", "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0x53f00000 0x100000>;
|
|
|
|
ranges;
|
|
|
|
|
2016-09-26 07:03:41 +07:00
|
|
|
clks: ccm@53f80000{
|
|
|
|
compatible = "fsl,imx31-ccm";
|
|
|
|
reg = <0x53f80000 0x4000>;
|
|
|
|
interrupts = <31>, <53>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2013-03-14 19:08:58 +07:00
|
|
|
gpt: timer@53f90000 {
|
|
|
|
compatible = "fsl,imx31-gpt";
|
|
|
|
reg = <0x53f90000 0x4000>;
|
|
|
|
interrupts = <29>;
|
|
|
|
clocks = <&clks 10>, <&clks 22>;
|
|
|
|
clock-names = "ipg", "per";
|
|
|
|
};
|
|
|
|
};
|
2012-07-10 02:39:12 +07:00
|
|
|
};
|
|
|
|
};
|