ARM: dts: imx6q-apalis: Cleanup
- Sort nodes and properties alphabetical - End all pinctrl node names in grp and avoid using dashes - Change the pmic's node name to pmic@8 per binding requirement - Add sound-dai-cells to the codec node per binding requirement Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
8e4724c93c
commit
ea0fb37ba0
@ -32,21 +32,21 @@
|
|||||||
|
|
||||||
reg_pcie_switch: regulator-pcie-switch {
|
reg_pcie_switch: regulator-pcie-switch {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "pcie_switch";
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
|
||||||
startup-delay-us = <100000>;
|
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
|
gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-name = "pcie_switch";
|
||||||
|
startup-delay-us = <100000>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_3v3_sw: regulator-3v3-sw {
|
reg_3v3_sw: regulator-3v3-sw {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "3.3V_SW";
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-name = "3.3V_SW";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -110,11 +110,11 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
®_usb_otg_vbus {
|
®_usb_host_vbus {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
®_usb_host_vbus {
|
®_usb_otg_vbus {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -163,8 +163,8 @@
|
|||||||
|
|
||||||
/* SD1 */
|
/* SD1 */
|
||||||
&usdhc2 {
|
&usdhc2 {
|
||||||
|
cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
|
pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
|
||||||
cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -32,28 +32,27 @@
|
|||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_leds_ixora>;
|
pinctrl-0 = <&pinctrl_leds_ixora>;
|
||||||
|
|
||||||
led4-green {
|
led4-green {
|
||||||
label = "LED_4_GREEN";
|
|
||||||
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
|
||||||
|
label = "LED_4_GREEN";
|
||||||
};
|
};
|
||||||
|
|
||||||
led4-red {
|
led4-red {
|
||||||
label = "LED_4_RED";
|
|
||||||
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
|
||||||
|
label = "LED_4_RED";
|
||||||
};
|
};
|
||||||
|
|
||||||
led5-green {
|
led5-green {
|
||||||
label = "LED_5_GREEN";
|
|
||||||
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
label = "LED_5_GREEN";
|
||||||
};
|
};
|
||||||
|
|
||||||
led5-red {
|
led5-red {
|
||||||
label = "LED_5_RED";
|
|
||||||
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
label = "LED_5_RED";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -115,11 +114,11 @@
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
®_usb_otg_vbus {
|
®_usb_host_vbus {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
®_usb_host_vbus {
|
®_usb_otg_vbus {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -163,9 +162,9 @@
|
|||||||
|
|
||||||
/* SD1 */
|
/* SD1 */
|
||||||
&usdhc2 {
|
&usdhc2 {
|
||||||
|
cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
|
pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_sd_cd>;
|
||||||
cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -103,18 +103,18 @@
|
|||||||
|
|
||||||
reg_module_3v3: regulator-module-3v3 {
|
reg_module_3v3: regulator-module-3v3 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "+V3.3";
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-name = "+V3.3";
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_module_3v3_audio: regulator-module-3v3-audio {
|
reg_module_3v3_audio: regulator-module-3v3-audio {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "+V3.3_AUDIO";
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-name = "+V3.3_AUDIO";
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_ov5640_1v8_d_o_vdd: regulator-ov5640-1v8-d-o-vdd {
|
reg_ov5640_1v8_d_o_vdd: regulator-ov5640-1v8-d-o-vdd {
|
||||||
@ -139,63 +139,63 @@
|
|||||||
|
|
||||||
reg_usb_otg_vbus: regulator-usb-otg-vbus {
|
reg_usb_otg_vbus: regulator-usb-otg-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_regulator_usbotg_pwr>;
|
pinctrl-0 = <&pinctrl_regulator_usbotg_pwr>;
|
||||||
regulator-name = "usb_otg_vbus";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
|
regulator-min-microvolt = <5000000>;
|
||||||
enable-active-high;
|
regulator-name = "usb_otg_vbus";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* on module USB hub */
|
/* on module USB hub */
|
||||||
reg_usb_host_vbus_hub: regulator-usb-host-vbus-hub {
|
reg_usb_host_vbus_hub: regulator-usb-host-vbus-hub {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&gpio3 28 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_regulator_usbhub_pwr>;
|
pinctrl-0 = <&pinctrl_regulator_usbhub_pwr>;
|
||||||
regulator-name = "usb_host_vbus_hub";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
gpio = <&gpio3 28 GPIO_ACTIVE_HIGH>;
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-name = "usb_host_vbus_hub";
|
||||||
startup-delay-us = <2000>;
|
startup-delay-us = <2000>;
|
||||||
enable-active-high;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_usb_host_vbus: regulator-usb-host-vbus {
|
reg_usb_host_vbus: regulator-usb-host-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_regulator_usbh_pwr>;
|
pinctrl-0 = <&pinctrl_regulator_usbh_pwr>;
|
||||||
regulator-name = "usb_host_vbus";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
|
regulator-min-microvolt = <5000000>;
|
||||||
enable-active-high;
|
regulator-name = "usb_host_vbus";
|
||||||
vin-supply = <®_usb_host_vbus_hub>;
|
vin-supply = <®_usb_host_vbus_hub>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
sound {
|
sound {
|
||||||
compatible = "fsl,imx-audio-sgtl5000";
|
compatible = "fsl,imx-audio-sgtl5000";
|
||||||
model = "imx6q-apalis-sgtl5000";
|
|
||||||
ssi-controller = <&ssi1>;
|
|
||||||
audio-codec = <&codec>;
|
audio-codec = <&codec>;
|
||||||
audio-routing =
|
audio-routing =
|
||||||
"LINE_IN", "Line In Jack",
|
"LINE_IN", "Line In Jack",
|
||||||
"MIC_IN", "Mic Jack",
|
"MIC_IN", "Mic Jack",
|
||||||
"Mic Jack", "Mic Bias",
|
"Mic Jack", "Mic Bias",
|
||||||
"Headphone Jack", "HP_OUT";
|
"Headphone Jack", "HP_OUT";
|
||||||
mux-int-port = <1>;
|
model = "imx6q-apalis-sgtl5000";
|
||||||
mux-ext-port = <4>;
|
mux-ext-port = <4>;
|
||||||
|
mux-int-port = <1>;
|
||||||
|
ssi-controller = <&ssi1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sound_spdif: sound-spdif {
|
sound_spdif: sound-spdif {
|
||||||
compatible = "fsl,imx-audio-spdif";
|
compatible = "fsl,imx-audio-spdif";
|
||||||
model = "imx-spdif";
|
|
||||||
spdif-controller = <&spdif>;
|
spdif-controller = <&spdif>;
|
||||||
spdif-in;
|
spdif-in;
|
||||||
spdif-out;
|
spdif-out;
|
||||||
|
model = "imx-spdif";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -509,104 +509,105 @@
|
|||||||
sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
pmic: pfuze100@8 {
|
pmic: pmic@8 {
|
||||||
compatible = "fsl,pfuze100";
|
compatible = "fsl,pfuze100";
|
||||||
fsl,pmic-stby-poweroff;
|
fsl,pmic-stby-poweroff;
|
||||||
reg = <0x08>;
|
reg = <0x08>;
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
sw1a_reg: sw1ab {
|
sw1a_reg: sw1ab {
|
||||||
regulator-min-microvolt = <300000>;
|
|
||||||
regulator-max-microvolt = <1875000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <1875000>;
|
||||||
|
regulator-min-microvolt = <300000>;
|
||||||
regulator-ramp-delay = <6250>;
|
regulator-ramp-delay = <6250>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sw1c_reg: sw1c {
|
sw1c_reg: sw1c {
|
||||||
regulator-min-microvolt = <300000>;
|
|
||||||
regulator-max-microvolt = <1875000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <1875000>;
|
||||||
|
regulator-min-microvolt = <300000>;
|
||||||
regulator-ramp-delay = <6250>;
|
regulator-ramp-delay = <6250>;
|
||||||
};
|
};
|
||||||
|
|
||||||
sw3a_reg: sw3a {
|
sw3a_reg: sw3a {
|
||||||
regulator-min-microvolt = <400000>;
|
|
||||||
regulator-max-microvolt = <1975000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <1975000>;
|
||||||
|
regulator-min-microvolt = <400000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
swbst_reg: swbst {
|
swbst_reg: swbst {
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5150000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <5150000>;
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
snvs_reg: vsnvs {
|
snvs_reg: vsnvs {
|
||||||
regulator-min-microvolt = <1000000>;
|
|
||||||
regulator-max-microvolt = <3000000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <3000000>;
|
||||||
|
regulator-min-microvolt = <1000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vref_reg: vrefddr {
|
vref_reg: vrefddr {
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
vgen1_reg: vgen1 {
|
vgen1_reg: vgen1 {
|
||||||
regulator-min-microvolt = <800000>;
|
|
||||||
regulator-max-microvolt = <1550000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <1550000>;
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vgen2_reg: vgen2 {
|
vgen2_reg: vgen2 {
|
||||||
regulator-min-microvolt = <800000>;
|
|
||||||
regulator-max-microvolt = <1550000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <1550000>;
|
||||||
|
regulator-min-microvolt = <800000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vgen3_reg: vgen3 {
|
vgen3_reg: vgen3 {
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vgen4_reg: vgen4 {
|
vgen4_reg: vgen4 {
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vgen5_reg: vgen5 {
|
vgen5_reg: vgen5 {
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vgen6_reg: vgen6 {
|
vgen6_reg: vgen6 {
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
regulator-boot-on;
|
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
|
regulator-boot-on;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
codec: sgtl5000@a {
|
codec: sgtl5000@a {
|
||||||
compatible = "fsl,sgtl5000";
|
compatible = "fsl,sgtl5000";
|
||||||
reg = <0x0a>;
|
#sound-dai-cells = <0>;
|
||||||
|
clocks = <&clks IMX6QDL_CLK_CKO>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_sgtl5000>;
|
pinctrl-0 = <&pinctrl_sgtl5000>;
|
||||||
clocks = <&clks IMX6QDL_CLK_CKO>;
|
reg = <0x0a>;
|
||||||
VDDA-supply = <®_module_3v3_audio>;
|
VDDA-supply = <®_module_3v3_audio>;
|
||||||
VDDIO-supply = <®_module_3v3>;
|
VDDIO-supply = <®_module_3v3>;
|
||||||
VDDD-supply = <&vgen4_reg>;
|
VDDD-supply = <&vgen4_reg>;
|
||||||
@ -615,15 +616,15 @@
|
|||||||
/* STMPE811 touch screen controller */
|
/* STMPE811 touch screen controller */
|
||||||
stmpe811@41 {
|
stmpe811@41 {
|
||||||
compatible = "st,stmpe811";
|
compatible = "st,stmpe811";
|
||||||
|
blocks = <0x5>;
|
||||||
|
id = <0>;
|
||||||
|
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
interrupt-controller;
|
||||||
|
interrupt-parent = <&gpio4>;
|
||||||
|
irq-trigger = <0x1>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_touch_int>;
|
pinctrl-0 = <&pinctrl_touch_int>;
|
||||||
reg = <0x41>;
|
reg = <0x41>;
|
||||||
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
|
||||||
interrupt-parent = <&gpio4>;
|
|
||||||
interrupt-controller;
|
|
||||||
id = <0>;
|
|
||||||
blocks = <0x5>;
|
|
||||||
irq-trigger = <0x1>;
|
|
||||||
/* 3.25 MHz ADC clock speed */
|
/* 3.25 MHz ADC clock speed */
|
||||||
st,adc-freq = <1>;
|
st,adc-freq = <1>;
|
||||||
/* 12-bit ADC */
|
/* 12-bit ADC */
|
||||||
@ -653,9 +654,9 @@
|
|||||||
|
|
||||||
stmpe_adc: stmpe_adc {
|
stmpe_adc: stmpe_adc {
|
||||||
compatible = "st,stmpe-adc";
|
compatible = "st,stmpe-adc";
|
||||||
|
#io-channel-cells = <1>;
|
||||||
/* forbid to use ADC channels 3-0 (touch) */
|
/* forbid to use ADC channels 3-0 (touch) */
|
||||||
st,norequest-mask = <0x0F>;
|
st,norequest-mask = <0x0F>;
|
||||||
#io-channel-cells = <1>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -793,73 +794,73 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&uart1 {
|
&uart1 {
|
||||||
|
fsl,dte-mode;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_uart1_dte &pinctrl_uart1_ctrl>;
|
pinctrl-0 = <&pinctrl_uart1_dte &pinctrl_uart1_ctrl>;
|
||||||
fsl,dte-mode;
|
|
||||||
uart-has-rtscts;
|
uart-has-rtscts;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart2 {
|
&uart2 {
|
||||||
|
fsl,dte-mode;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_uart2_dte>;
|
pinctrl-0 = <&pinctrl_uart2_dte>;
|
||||||
fsl,dte-mode;
|
|
||||||
uart-has-rtscts;
|
uart-has-rtscts;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart4 {
|
&uart4 {
|
||||||
|
fsl,dte-mode;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_uart4_dte>;
|
pinctrl-0 = <&pinctrl_uart4_dte>;
|
||||||
fsl,dte-mode;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart5 {
|
&uart5 {
|
||||||
|
fsl,dte-mode;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_uart5_dte>;
|
pinctrl-0 = <&pinctrl_uart5_dte>;
|
||||||
fsl,dte-mode;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
&usbotg {
|
&usbotg {
|
||||||
|
disable-over-current;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_usbotg>;
|
pinctrl-0 = <&pinctrl_usbotg>;
|
||||||
disable-over-current;
|
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* MMC1 */
|
/* MMC1 */
|
||||||
&usdhc1 {
|
&usdhc1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit &pinctrl_mmc_cd>;
|
|
||||||
cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
|
|
||||||
vqmmc-supply = <®_module_3v3>;
|
|
||||||
bus-width = <8>;
|
bus-width = <8>;
|
||||||
|
cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
|
||||||
disable-wp;
|
disable-wp;
|
||||||
no-1-8-v;
|
no-1-8-v;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit &pinctrl_mmc_cd>;
|
||||||
|
vqmmc-supply = <®_module_3v3>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SD1 */
|
/* SD1 */
|
||||||
&usdhc2 {
|
&usdhc2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&pinctrl_usdhc2>;
|
|
||||||
vqmmc-supply = <®_module_3v3>;
|
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
disable-wp;
|
disable-wp;
|
||||||
no-1-8-v;
|
no-1-8-v;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_usdhc2>;
|
||||||
|
vqmmc-supply = <®_module_3v3>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* eMMC */
|
/* eMMC */
|
||||||
&usdhc3 {
|
&usdhc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&pinctrl_usdhc3>;
|
|
||||||
vqmmc-supply = <®_module_3v3>;
|
|
||||||
bus-width = <8>;
|
bus-width = <8>;
|
||||||
no-1-8-v;
|
no-1-8-v;
|
||||||
non-removable;
|
non-removable;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_usdhc3>;
|
||||||
|
vqmmc-supply = <®_module_3v3>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -876,49 +877,49 @@
|
|||||||
&pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8
|
&pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8
|
||||||
>;
|
>;
|
||||||
|
|
||||||
pinctrl_apalis_gpio1: gpio2io04grp {
|
pinctrl_apalis_gpio1: apalisgpio1grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x130b0
|
MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x130b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_apalis_gpio2: gpio2io05grp {
|
pinctrl_apalis_gpio2: apalisgpio2grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x130b0
|
MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x130b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_apalis_gpio3: gpio2io06grp {
|
pinctrl_apalis_gpio3: apalisgpio3grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x130b0
|
MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x130b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_apalis_gpio4: gpio2io07grp {
|
pinctrl_apalis_gpio4: apalisgpio4grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x130b0
|
MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x130b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_apalis_gpio5: gpio6io10grp {
|
pinctrl_apalis_gpio5: apalisgpio5grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x130b0
|
MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x130b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_apalis_gpio6: gpio6io09grp {
|
pinctrl_apalis_gpio6: apalisgpio6grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x130b0
|
MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x130b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_apalis_gpio7: gpio1io02grp {
|
pinctrl_apalis_gpio7: apalisgpio7grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x130b0
|
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x130b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_apalis_gpio8: gpio1io06grp {
|
pinctrl_apalis_gpio8: apalisgpio8grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x130b0
|
MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x130b0
|
||||||
>;
|
>;
|
||||||
@ -1011,7 +1012,7 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_gpio_bl_on: gpioblon {
|
pinctrl_gpio_bl_on: gpioblongrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b0b0
|
MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b0b0
|
||||||
>;
|
>;
|
||||||
@ -1156,7 +1157,7 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_mmc_cd: gpiommccdgrp {
|
pinctrl_mmc_cd: mmccdgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
/* MMC1 CD */
|
/* MMC1 CD */
|
||||||
MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x000b0
|
MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x000b0
|
||||||
@ -1187,35 +1188,35 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_regulator_usbh_pwr: gpioregusbhpwrgrp {
|
pinctrl_regulator_usbh_pwr: regusbhpwrgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
/* USBH_EN */
|
/* USBH_EN */
|
||||||
MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x0f058
|
MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x0f058
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_regulator_usbhub_pwr: gpioregusbhubpwrgrp {
|
pinctrl_regulator_usbhub_pwr: regusbhubpwrgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
/* USBH_HUB_EN */
|
/* USBH_HUB_EN */
|
||||||
MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x0f058
|
MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x0f058
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_regulator_usbotg_pwr: gpioregusbotgpwrgrp {
|
pinctrl_regulator_usbotg_pwr: regusbotgpwrgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
/* USBO1 power en */
|
/* USBO1 power en */
|
||||||
MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x0f058
|
MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x0f058
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_reset_moci: gpioresetmocigrp {
|
pinctrl_reset_moci: resetmocigrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
/* RESET_MOCI control */
|
/* RESET_MOCI control */
|
||||||
MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x0f058
|
MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x0f058
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_sd_cd: gpiosdcdgrp {
|
pinctrl_sd_cd: sdcdgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
/* SD1 CD */
|
/* SD1 CD */
|
||||||
MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x000b0
|
MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x000b0
|
||||||
@ -1235,13 +1236,22 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_touch_int: gpiotouchintgrp {
|
pinctrl_touch_int: touchintgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
/* STMPE811 interrupt */
|
/* STMPE811 interrupt */
|
||||||
MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0
|
MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Additional DTR, DSR, DCD */
|
||||||
|
pinctrl_uart1_ctrl: uart1ctrlgrp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6QDL_PAD_EIM_D23__UART1_DCD_B 0x1b0b0
|
||||||
|
MX6QDL_PAD_EIM_D24__UART1_DTR_B 0x1b0b0
|
||||||
|
MX6QDL_PAD_EIM_D25__UART1_DSR_B 0x1b0b0
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl_uart1_dce: uart1dcegrp {
|
pinctrl_uart1_dce: uart1dcegrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
|
MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
|
||||||
@ -1259,15 +1269,6 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Additional DTR, DSR, DCD */
|
|
||||||
pinctrl_uart1_ctrl: uart1ctrlgrp {
|
|
||||||
fsl,pins = <
|
|
||||||
MX6QDL_PAD_EIM_D23__UART1_DCD_B 0x1b0b0
|
|
||||||
MX6QDL_PAD_EIM_D24__UART1_DTR_B 0x1b0b0
|
|
||||||
MX6QDL_PAD_EIM_D25__UART1_DSR_B 0x1b0b0
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
pinctrl_uart2_dce: uart2dcegrp {
|
pinctrl_uart2_dce: uart2dcegrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
|
MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
|
||||||
@ -1321,7 +1322,7 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_usdhc1_4bit: usdhc1grp_4bit {
|
pinctrl_usdhc1_4bit: usdhc1-4bitgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17071
|
MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17071
|
||||||
MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10071
|
MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10071
|
||||||
@ -1332,7 +1333,7 @@
|
|||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pinctrl_usdhc1_8bit: usdhc1grp_8bit {
|
pinctrl_usdhc1_8bit: usdhc1-8bitgrp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
MX6QDL_PAD_NANDF_D0__SD1_DATA4 0x17071
|
MX6QDL_PAD_NANDF_D0__SD1_DATA4 0x17071
|
||||||
MX6QDL_PAD_NANDF_D1__SD1_DATA5 0x17071
|
MX6QDL_PAD_NANDF_D1__SD1_DATA5 0x17071
|
||||||
|
Loading…
x
Reference in New Issue
Block a user