summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts
diff options
context:
space:
mode:
authorbr <br@FreeBSD.org>2015-01-24 13:07:07 +0000
committerbr <br@FreeBSD.org>2015-01-24 13:07:07 +0000
commitb126e557b253b006789504806612c8f6dc907bbe (patch)
treeb35a2d9d1081351cdf0595352e471edd7cc62e26 /sys/boot/fdt/dts
parentb8f7b5ec8d512cfc097c9038c760c6ab3382a28b (diff)
downloadFreeBSD-src-b126e557b253b006789504806612c8f6dc907bbe.zip
FreeBSD-src-b126e557b253b006789504806612c8f6dc907bbe.tar.gz
Add support for audio transmitting, include drivers for:
o Digital Audio Multiplexer (AUDMUX) o Smart Direct Memory Access Controller (SDMA) o Synchronous Serial Interface (SSI) Disable by default as it depends on SDMA firmware. Sponsored by: Machdep, Inc.
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r--sys/boot/fdt/dts/arm/apalis-imx6.dts20
-rw-r--r--sys/boot/fdt/dts/arm/imx6.dtsi8
2 files changed, 24 insertions, 4 deletions
diff --git a/sys/boot/fdt/dts/arm/apalis-imx6.dts b/sys/boot/fdt/dts/arm/apalis-imx6.dts
index 0806f4e..b644060 100644
--- a/sys/boot/fdt/dts/arm/apalis-imx6.dts
+++ b/sys/boot/fdt/dts/arm/apalis-imx6.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
+ * Copyright (c) 2014-2015 Ruslan Bukin <br@bsdpad.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,6 +26,8 @@
* $FreeBSD$
*/
+#include "imx6q-pinfunc.h"
+
/dts-v1/;
/include/ "imx6.dtsi"
@@ -42,7 +44,20 @@
SOC: soc@00000000 {
aips@02000000 { /* AIPS1 */
- iomux@020e0000 { status = "okay"; };
+ iomux@020e0000 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pins_ssi>;
+ pins_ssi: ssi {
+ fsl,pins = <
+ MX6QDL_PAD_DISP0_DAT16__AUD5_TXC 0x130b0
+ MX6QDL_PAD_DISP0_DAT17__AUD5_TXD 0x110b0
+ MX6QDL_PAD_DISP0_DAT18__AUD5_TXFS 0x130b0
+ MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
+ MX6QDL_PAD_GPIO_19__CCM_CLKO1 0x130b0
+ >;
+ };
+ };
gpio@0209c000 { status = "okay"; };
gpio@020a0000 { status = "okay"; };
gpio@020a4000 { status = "okay"; };
@@ -76,6 +91,7 @@
usdhc@02198000 { status = "disabled"; };
usdhc@0219c000 { status = "disabled"; };
audmux@021d8000 { status = "okay"; };
+ i2c@021a0000 { status = "okay"; };
};
};
diff --git a/sys/boot/fdt/dts/arm/imx6.dtsi b/sys/boot/fdt/dts/arm/imx6.dtsi
index c24bb81..db8b44e 100644
--- a/sys/boot/fdt/dts/arm/imx6.dtsi
+++ b/sys/boot/fdt/dts/arm/imx6.dtsi
@@ -126,11 +126,12 @@
gpt: timer@02098000 {
compatible = "fsl,imx6q-gpt", "fsl,imx51-gpt";
reg = <0x02098000 0x4000>;
- interrupt-parent = <&gic>; interrupts = <87>;
+ interrupt-parent = <&gic>;
+ interrupts = <87>;
};
iomux@020e0000 {
- compatible = "fsl,imx6q-iomux";
+ compatible = "fsl,imx6q-iomuxc";
reg = <0x020e0000 0x4000>;
interrupt-parent = <&gic>;
interrupts = <32>;
@@ -311,6 +312,9 @@
compatible = "fsl,imx6q-ssi";
reg = <0x02028000 0x4000>;
interrupts = < 78 >;
+ dmas = <&sdma 37 1 0>,
+ <&sdma 38 1 0>;
+ dma-names = "rx", "tx";
status = "disabled";
};
OpenPOWER on IntegriCloud