summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7-colibri.dtsi
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-09-13 18:42:20 +0300
committerArnd Bergmann <arnd@arndb.de>2016-09-13 18:42:20 +0300
commit4dbacf2cdea7f372fddd576ff582634c8c2dc1f0 (patch)
treea4629c183aadab5e1ed86413687a50e2814ad257 /arch/arm/boot/dts/imx7-colibri.dtsi
parent971b4c6e1a827e2b01738772a2a7cfd8b0842286 (diff)
parentbb728d662bed0fe91b152550e640cb3f6caa972c (diff)
downloadlinux-4dbacf2cdea7f372fddd576ff582634c8c2dc1f0.tar.xz
Merge tag 'imx-dt-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt
Pull "i.MX device tree changes for 4.9" from Shawn Guo: - Add SoC support for i.MX7 Solo which is a reduced version of i.MX7 Dual. - New board support: Gateworks Ventana i.MX6Q/DL GW553x, Inverse Path i.MX53 USB armory, i.MX6Q/DL TS-4900 from Technologic Systems, i.MX6UL GEA M6UL modules from Engicam, i.MX7 Solo Warp7 board. - Add DMA and IPU CSI devices for i.MX53 SoC support. - Refine i.MX7 Dual SoC DTS as a preparation of i.MX7 Solo support. - Use of_graph dt nodes to describe the panel for vf610-colibri and ls1021a-twr boards. - Add gpio-ranges property to i.MX6 GPIO controllers, which will be useful when GPIO driver is changed to request pad configuration as GPIO function. - Random device additions or small changes for various board support. * tag 'imx-dt-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (41 commits) ARM: dts: add gpio-ranges property to iMX GPIO controllers ARM: dts: imx35: add iim module to imx35.dtsi ARM: dts: vf610-colibri: use of_graph dt nodes to describe the panel ARM: dts: ls1021a: Add of_graph dt nodes to describe the panel ARM: dts: imx53: add support for USB armory board devicetree: Add vendor prefix for Inverse Path ARM: dts: imx7s-warp: Add Bluetooth support ARM: dts: imx7s-warp: Add User Button support ARM: dts: imx7s-warp: Enable I2C2 device support ARM: dts: imx6ul-geam: Add Engicam IMX6UL GEA M6UL initial support ARM: dts: imx6ul iomuxc syscon is compatible to imx6q ARM: dts: imx7-colibri: add Audio support ARM: dts: imx7-colibri: add basic supply regulators ARM: dts: imx7-colibri: move SD-card to module level ARM: dts: imx6sx: Add GPU bindings ARM: dts: imx7s-warp: Let the codec control MCLK pinctrl ARM: dts: imx6ul-pico-hobbit: Use WDOG_B pin reset ARM: dts: imx6q-bx50v3: configure unused pca953x pins ARM: dts: imx6sx: document SION necessity of ENET1_REF_CLK1 ARM: dts: imx7s-warp: Use WDOG_B pin reset ...
Diffstat (limited to 'arch/arm/boot/dts/imx7-colibri.dtsi')
-rw-r--r--arch/arm/boot/dts/imx7-colibri.dtsi61
1 files changed, 57 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi
index 0a9d3a822fc0..a9cc65725f19 100644
--- a/arch/arm/boot/dts/imx7-colibri.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri.dtsi
@@ -46,12 +46,18 @@
pwms = <&pwm1 0 5000000>;
};
- reg_3p3v: regulator-3p3v {
+ reg_module_3v3: regulator-module-3v3 {
compatible = "regulator-fixed";
- regulator-name = "3P3V";
+ regulator-name = "+V3.3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ reg_module_3v3_avdd: regulator-module-3v3-avdd {
+ compatible = "regulator-fixed";
+ regulator-name = "+V3.3_AVDD_AUDIO";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- regulator-always-on;
};
reg_vref_1v8: regulator-vref-1v8 {
@@ -60,6 +66,22 @@
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
+
+ sound {
+ compatible = "simple-audio-card";
+ simple-audio-card,name = "imx7-sgtl5000";
+ simple-audio-card,format = "i2s";
+ simple-audio-card,bitclock-master = <&dailink_master>;
+ simple-audio-card,frame-master = <&dailink_master>;
+ simple-audio-card,cpu {
+ sound-dai = <&sai1>;
+ };
+
+ dailink_master: simple-audio-card,codec {
+ sound-dai = <&codec>;
+ clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
+ };
+ };
};
&adc1 {
@@ -97,6 +119,18 @@
pinctrl-0 = <&pinctrl_i2c1 &pinctrl_i2c1_int>;
status = "okay";
+ codec: sgtl5000@0a {
+ compatible = "fsl,sgtl5000";
+ #sound-dai-cells = <0>;
+ reg = <0x0a>;
+ clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sai1_mclk>;
+ VDDA-supply = <&reg_module_3v3_avdd>;
+ VDDIO-supply = <&reg_module_3v3>;
+ VDDD-supply = <&reg_DCDC3>;
+ };
+
ad7879@2c {
compatible = "adi,ad7879-1";
reg = <0x2c>;
@@ -217,6 +251,12 @@
vin-supply = <&reg_DCDC3>;
};
+&sai1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sai1>;
+ status = "okay";
+};
+
&snvs_pwrkey {
status = "disabled";
};
@@ -251,6 +291,14 @@
dr_mode = "host";
};
+&usdhc1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_cd_usdhc1>;
+ no-1-8-v;
+ cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
+ disable-wp;
+};
+
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 &pinctrl_gpio4>;
@@ -528,13 +576,18 @@
pinctrl_sai1: sai1-grp {
fsl,pins = <
- MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x1f
MX7D_PAD_ENET1_RX_CLK__SAI1_TX_BCLK 0x1f
MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x1f
MX7D_PAD_ENET1_COL__SAI1_TX_DATA0 0x30
MX7D_PAD_ENET1_TX_CLK__SAI1_RX_DATA0 0x1f
>;
};
+
+ pinctrl_sai1_mclk: sai1grp_mclk {
+ fsl,pins = <
+ MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x1f
+ >;
+ };
};
&iomuxc_lpsr {