summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-17 22:02:26 +0000
committerian <ian@FreeBSD.org>2014-05-17 22:02:26 +0000
commit91085f1756fa8672d51fe8d8a46a7256fc7bea10 (patch)
tree9150025016d3a64c4baa9d54f292fb7ef97eb19f /sys/boot
parent28cd5d043bf85c8d123e865cecde6a0e4369a601 (diff)
downloadFreeBSD-src-91085f1756fa8672d51fe8d8a46a7256fc7bea10.zip
FreeBSD-src-91085f1756fa8672d51fe8d8a46a7256fc7bea10.tar.gz
MFC 264428:
Improve the i.MX53 / Digi DTS: * Fix the IPU address. * Fix the PATA definition. * Add another I2C. * Add more UARTs. * Add SATA.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/dts/arm/digi-ccwmx53.dts26
-rw-r--r--sys/boot/fdt/dts/arm/imx53x.dtsi38
2 files changed, 48 insertions, 16 deletions
diff --git a/sys/boot/fdt/dts/arm/digi-ccwmx53.dts b/sys/boot/fdt/dts/arm/digi-ccwmx53.dts
index 8205591..554f262 100644
--- a/sys/boot/fdt/dts/arm/digi-ccwmx53.dts
+++ b/sys/boot/fdt/dts/arm/digi-ccwmx53.dts
@@ -45,7 +45,10 @@
0xB0000000 0x10000000>;
};
- localbus@18000000 {
+ localbus@10000000 {
+ sata@10000000 {
+ status = "okay";
+ };
ipu3@1E000000 {
status = "okay";
};
@@ -69,13 +72,19 @@
timer@53fa0000 {
status = "okay";
};
-
/* UART1, console */
console: serial@53fbc000 {
status = "okay";
clock-frequency = <0>; /* won't load w/o this */
};
-
+ serial@53fc0000 {
+ status = "okay";
+ clock-frequency = <0>; /* won't load w/o this */
+ };
+ serial@53ff0000 {
+ status = "okay";
+ clock-frequency = <0>; /* won't load w/o this */
+ };
clock@53fd4000 {
status = "okay";
};
@@ -100,6 +109,14 @@
wdog@53f98000 {
status = "okay";
};
+ i2c@53fec000 {
+ status = "okay";
+ rtc@68 {
+ compatible = "dialog,ds9052";
+ reg = <0x48>;
+ interrupts = <0x1 0x1 0 0>;
+ };
+ };
};
aips@60000000 {
ethernet@63fec000 {
@@ -118,6 +135,9 @@
ide@63fe0000 {
status = "okay";
};
+ serial@63f90000 {
+ status = "okay";
+ };
};
};
diff --git a/sys/boot/fdt/dts/arm/imx53x.dtsi b/sys/boot/fdt/dts/arm/imx53x.dtsi
index ce87e51..c6a696e 100644
--- a/sys/boot/fdt/dts/arm/imx53x.dtsi
+++ b/sys/boot/fdt/dts/arm/imx53x.dtsi
@@ -282,7 +282,13 @@
/* 50028000 0x4000 SPDIF */
/* 91 SPDIF */
- /* 50030000 0x4000 PATA (PORT UDMA) irq70 */
+ pata@50030000 {
+ compatible = "fsl,imx53-ata";
+ reg = <0x50030000 0x4000>;
+ interrupt-parent = <&tzic>;
+ interrupts = <70>;
+ status = "disabled";
+ };
/* 50034000 0x4000 SLM */
/* 50038000 0x4000 HSI2C */
@@ -444,7 +450,7 @@
status = "disabled";
};
- /* 53FC0000 0x4000 UART 4 */
+ /* 53FF0000 0x4000 UART 4 */
uart4: serial@53ff0000 {
compatible = "fsl,imx53-uart", "fsl,imx-uart";
reg = <0x53ff0000 0x4000>;
@@ -469,17 +475,16 @@
interrupts = <73 74>;
status = "disabled";
};
-
- /* 53FE8000 0x4000 PATA (PORT PIO) */
- /* 70 PATA Parallel ATA host controller interrupt */
- ide@53fe8000 {
- compatible = "fsl,imx53-ata";
- reg = <0x83fe0000 0x4000>;
+ i2c@53fec000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,imx53-i2c", "fsl,imx1-i2c",
+ "fsl,imx-i2c";
+ reg = <0x53fec000 0x4000>;
interrupt-parent = <&tzic>;
- interrupts = <70>;
+ interrupts = <64>;
status = "disabled";
};
-
};
aips@60000000 { /* AIPS2 */
@@ -489,7 +494,7 @@
interrupt-parent = <&tzic>;
ranges;
- /* 53FC0000 0x4000 UART 5 */
+ /* 63F90000 0x4000 UART 5 */
uart5: serial@63f90000 {
compatible = "fsl,imx53-uart", "fsl,imx-uart";
reg = <0x63f90000 0x4000>;
@@ -650,13 +655,20 @@
};
};
- localbus@18000000 {
+ localbus@10000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
-
ranges;
+ sata@10000000 {
+ compatible = "fsl,imx53-ata";
+ reg = <0x10000000 0x4000>;
+ interrupt-parent = <&tzic>;
+ interrupts = <28>;
+ status = "disabled";
+ };
+
vga: ipu3@1E000000 {
compatible = "fsl,ipu3";
reg = <
OpenPOWER on IntegriCloud