2018-05-15 00:58:47 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
//
|
|
|
|
// Copyright 2011 Freescale Semiconductor, Inc.
|
|
|
|
// Copyright 2011 Linaro Ltd.
|
2011-10-17 07:42:17 +07:00
|
|
|
|
|
|
|
/dts-v1/;
|
2013-04-07 09:49:34 +07:00
|
|
|
#include "imx51.dtsi"
|
2011-10-17 07:42:17 +07:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Freescale i.MX51 Babbage Board";
|
|
|
|
compatible = "fsl,imx51-babbage", "fsl,imx51";
|
|
|
|
|
2014-05-07 20:19:00 +07:00
|
|
|
chosen {
|
|
|
|
stdout-path = &uart1;
|
|
|
|
};
|
|
|
|
|
2018-01-24 20:22:14 +07:00
|
|
|
memory@90000000 {
|
2011-10-17 07:42:17 +07:00
|
|
|
reg = <0x90000000 0x20000000>;
|
|
|
|
};
|
|
|
|
|
2017-12-21 22:23:52 +07:00
|
|
|
ckih1 {
|
|
|
|
clock-frequency = <22579200>;
|
|
|
|
};
|
2014-04-16 14:24:55 +07:00
|
|
|
|
2017-12-21 22:23:52 +07:00
|
|
|
clk_osc: clk-osc {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <26000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clk_osc_gate: clk-osc-gate {
|
|
|
|
compatible = "gpio-gate-clock";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_clk26mhz_osc>;
|
|
|
|
clocks = <&clk_osc>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
enable-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clk_audio: clk-audio {
|
|
|
|
compatible = "gpio-gate-clock";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_clk26mhz_audio>;
|
|
|
|
clocks = <&clk_osc_gate>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
enable-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clk_usb: clk-usb {
|
|
|
|
compatible = "gpio-gate-clock";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_clk26mhz_usb>;
|
|
|
|
clocks = <&clk_osc_gate>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
enable-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
|
2014-04-16 14:24:55 +07:00
|
|
|
};
|
|
|
|
|
2017-10-05 21:31:41 +07:00
|
|
|
display1: disp1 {
|
2012-12-31 10:32:48 +07:00
|
|
|
compatible = "fsl,imx-parallel-display";
|
|
|
|
interface-pix-fmt = "rgb24";
|
|
|
|
pinctrl-names = "default";
|
2013-11-04 15:05:37 +07:00
|
|
|
pinctrl-0 = <&pinctrl_ipu_disp1>;
|
2013-10-09 01:52:12 +07:00
|
|
|
display-timings {
|
|
|
|
native-mode = <&timing0>;
|
|
|
|
timing0: dvi {
|
|
|
|
clock-frequency = <65000000>;
|
|
|
|
hactive = <1024>;
|
|
|
|
vactive = <768>;
|
|
|
|
hback-porch = <220>;
|
|
|
|
hfront-porch = <40>;
|
|
|
|
vback-porch = <21>;
|
|
|
|
vfront-porch = <7>;
|
|
|
|
hsync-len = <60>;
|
|
|
|
vsync-len = <10>;
|
|
|
|
};
|
|
|
|
};
|
2014-03-05 16:20:59 +07:00
|
|
|
|
|
|
|
port {
|
|
|
|
display0_in: endpoint {
|
2017-10-05 21:31:41 +07:00
|
|
|
remote-endpoint = <&ipu_di0_disp1>;
|
2014-03-05 16:20:59 +07:00
|
|
|
};
|
|
|
|
};
|
2012-12-31 10:32:48 +07:00
|
|
|
};
|
2012-05-11 12:08:46 +07:00
|
|
|
|
2017-10-05 21:31:41 +07:00
|
|
|
display2: disp2 {
|
2012-12-31 10:32:48 +07:00
|
|
|
compatible = "fsl,imx-parallel-display";
|
|
|
|
interface-pix-fmt = "rgb565";
|
|
|
|
pinctrl-names = "default";
|
2013-11-04 15:05:37 +07:00
|
|
|
pinctrl-0 = <&pinctrl_ipu_disp2>;
|
2013-10-09 01:52:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
display-timings {
|
|
|
|
native-mode = <&timing1>;
|
|
|
|
timing1: claawvga {
|
|
|
|
clock-frequency = <27000000>;
|
|
|
|
hactive = <800>;
|
|
|
|
vactive = <480>;
|
|
|
|
hback-porch = <40>;
|
|
|
|
hfront-porch = <60>;
|
|
|
|
vback-porch = <10>;
|
|
|
|
vfront-porch = <10>;
|
|
|
|
hsync-len = <20>;
|
|
|
|
vsync-len = <10>;
|
|
|
|
hsync-active = <0>;
|
|
|
|
vsync-active = <0>;
|
|
|
|
de-active = <1>;
|
|
|
|
pixelclk-active = <0>;
|
|
|
|
};
|
|
|
|
};
|
2014-03-05 16:20:59 +07:00
|
|
|
|
|
|
|
port {
|
|
|
|
display1_in: endpoint {
|
2017-10-05 21:31:41 +07:00
|
|
|
remote-endpoint = <&ipu_di1_disp2>;
|
2014-03-05 16:20:59 +07:00
|
|
|
};
|
|
|
|
};
|
2011-10-17 07:42:17 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
2014-04-16 14:24:51 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_gpio_keys>;
|
2011-10-17 07:42:17 +07:00
|
|
|
|
|
|
|
power {
|
|
|
|
label = "Power Button";
|
2013-11-19 18:47:27 +07:00
|
|
|
gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
|
2014-04-16 14:24:53 +07:00
|
|
|
linux,code = <KEY_POWER>;
|
2015-10-21 17:10:08 +07:00
|
|
|
wakeup-source;
|
2011-10-17 07:42:17 +07:00
|
|
|
};
|
|
|
|
};
|
2012-05-11 12:08:46 +07:00
|
|
|
|
2014-02-10 14:05:46 +07:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_gpio_leds>;
|
|
|
|
|
|
|
|
led-diagnostic {
|
|
|
|
label = "diagnostic";
|
|
|
|
gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-03-26 21:54:38 +07:00
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2015-01-06 00:19:08 +07:00
|
|
|
reg_hub_reset: regulator@0 {
|
2014-04-16 14:24:54 +07:00
|
|
|
compatible = "regulator-fixed";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usbotgreg>;
|
2015-01-06 00:19:08 +07:00
|
|
|
reg = <0>;
|
|
|
|
regulator-name = "hub_reset";
|
2014-04-16 14:24:54 +07:00
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
2014-03-26 21:54:38 +07:00
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:55 +07:00
|
|
|
sound {
|
|
|
|
compatible = "fsl,imx51-babbage-sgtl5000",
|
|
|
|
"fsl,imx-audio-sgtl5000";
|
|
|
|
model = "imx51-babbage-sgtl5000";
|
|
|
|
ssi-controller = <&ssi2>;
|
|
|
|
audio-codec = <&sgtl5000>;
|
|
|
|
audio-routing =
|
|
|
|
"MIC_IN", "Mic Jack",
|
|
|
|
"Mic Jack", "Mic Bias",
|
|
|
|
"Headphone Jack", "HP_OUT";
|
|
|
|
mux-int-port = <2>;
|
|
|
|
mux-ext-port = <3>;
|
|
|
|
};
|
|
|
|
|
2018-07-03 20:05:54 +07:00
|
|
|
usbphy1: usbphy1 {
|
|
|
|
compatible = "usb-nop-xceiv";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usbh1reg>;
|
|
|
|
clocks = <&clk_usb>;
|
|
|
|
clock-names = "main_clk";
|
|
|
|
reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
|
|
|
|
vcc-supply = <&vusb_reg>;
|
|
|
|
#phy-cells = <0>;
|
2014-03-26 21:54:38 +07:00
|
|
|
};
|
2011-10-17 07:42:17 +07:00
|
|
|
};
|
2012-12-31 10:32:48 +07:00
|
|
|
|
2014-04-16 14:24:55 +07:00
|
|
|
&audmux {
|
2012-12-31 10:32:48 +07:00
|
|
|
pinctrl-names = "default";
|
2014-04-16 14:24:55 +07:00
|
|
|
pinctrl-0 = <&pinctrl_audmux>;
|
2012-12-31 10:32:48 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ecspi1 {
|
|
|
|
pinctrl-names = "default";
|
2013-11-04 15:05:37 +07:00
|
|
|
pinctrl-0 = <&pinctrl_ecspi1>;
|
2013-11-19 18:47:27 +07:00
|
|
|
cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>,
|
2013-11-27 18:55:45 +07:00
|
|
|
<&gpio4 25 GPIO_ACTIVE_LOW>;
|
2012-12-31 10:32:48 +07:00
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
pmic: mc13892@0 {
|
|
|
|
compatible = "fsl,mc13892";
|
2014-04-16 14:24:52 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_pmic>;
|
2012-12-31 10:32:48 +07:00
|
|
|
spi-max-frequency = <6000000>;
|
2013-06-25 20:51:59 +07:00
|
|
|
spi-cs-high;
|
2012-12-31 10:32:48 +07:00
|
|
|
reg = <0>;
|
|
|
|
interrupt-parent = <&gpio1>;
|
2013-11-07 15:45:08 +07:00
|
|
|
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
|
2018-07-26 23:05:21 +07:00
|
|
|
fsl,mc13xxx-uses-adc;
|
2014-05-23 00:45:05 +07:00
|
|
|
fsl,mc13xxx-uses-rtc;
|
2012-12-31 10:32:48 +07:00
|
|
|
|
|
|
|
regulators {
|
|
|
|
sw1_reg: sw1 {
|
|
|
|
regulator-min-microvolt = <600000>;
|
|
|
|
regulator-max-microvolt = <1375000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
sw2_reg: sw2 {
|
|
|
|
regulator-min-microvolt = <900000>;
|
|
|
|
regulator-max-microvolt = <1850000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
sw3_reg: sw3 {
|
|
|
|
regulator-min-microvolt = <1100000>;
|
|
|
|
regulator-max-microvolt = <1850000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
sw4_reg: sw4 {
|
|
|
|
regulator-min-microvolt = <1100000>;
|
|
|
|
regulator-max-microvolt = <1850000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vpll_reg: vpll {
|
|
|
|
regulator-min-microvolt = <1050000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdig_reg: vdig {
|
|
|
|
regulator-min-microvolt = <1650000>;
|
|
|
|
regulator-max-microvolt = <1650000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vsd_reg: vsd {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <3150000>;
|
|
|
|
};
|
|
|
|
|
2017-12-03 03:26:04 +07:00
|
|
|
vusb_reg: vusb {
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2012-12-31 10:32:48 +07:00
|
|
|
vusb2_reg: vusb2 {
|
|
|
|
regulator-min-microvolt = <2400000>;
|
|
|
|
regulator-max-microvolt = <2775000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vvideo_reg: vvideo {
|
|
|
|
regulator-min-microvolt = <2775000>;
|
|
|
|
regulator-max-microvolt = <2775000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vaudio_reg: vaudio {
|
|
|
|
regulator-min-microvolt = <2300000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vcam_reg: vcam {
|
|
|
|
regulator-min-microvolt = <2500000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vgen1_reg: vgen1 {
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vgen2_reg: vgen2 {
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <3150000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vgen3_reg: vgen3 {
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <2900000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
flash: at45db321d@1 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
|
|
|
|
spi-max-frequency = <25000000>;
|
|
|
|
reg = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "U-Boot";
|
|
|
|
reg = <0x0 0x40000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@40000 {
|
|
|
|
label = "Kernel";
|
|
|
|
reg = <0x40000 0x3c0000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:55 +07:00
|
|
|
&esdhc1 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_esdhc1>;
|
2014-05-23 19:33:04 +07:00
|
|
|
cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
|
|
|
|
wp-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
|
2014-04-16 14:24:55 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&esdhc2 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_esdhc2>;
|
2014-05-23 19:33:04 +07:00
|
|
|
cd-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
|
2014-04-16 14:24:55 +07:00
|
|
|
wp-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&fec {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_fec>;
|
|
|
|
phy-mode = "mii";
|
|
|
|
phy-reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
|
|
|
|
phy-reset-duration = <1>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:56 +07:00
|
|
|
&i2c1 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_i2c1>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:55 +07:00
|
|
|
&i2c2 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_i2c2>;
|
|
|
|
status = "okay";
|
|
|
|
|
2017-10-14 00:54:51 +07:00
|
|
|
sgtl5000: codec@a {
|
2014-04-16 14:24:55 +07:00
|
|
|
compatible = "fsl,sgtl5000";
|
|
|
|
reg = <0x0a>;
|
2018-03-02 03:25:33 +07:00
|
|
|
#sound-dai-cells = <0>;
|
2017-12-21 22:23:52 +07:00
|
|
|
clocks = <&clk_audio>;
|
2014-04-16 14:24:55 +07:00
|
|
|
VDDA-supply = <&vdig_reg>;
|
|
|
|
VDDIO-supply = <&vvideo_reg>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-10-05 21:31:41 +07:00
|
|
|
&ipu_di0_disp1 {
|
2014-03-05 16:20:59 +07:00
|
|
|
remote-endpoint = <&display0_in>;
|
|
|
|
};
|
|
|
|
|
2017-10-05 21:31:41 +07:00
|
|
|
&ipu_di1_disp2 {
|
2014-03-05 16:20:59 +07:00
|
|
|
remote-endpoint = <&display1_in>;
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:55 +07:00
|
|
|
&kpp {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_kpp>;
|
|
|
|
linux,keymap = <
|
|
|
|
MATRIX_KEY(0, 0, KEY_UP)
|
|
|
|
MATRIX_KEY(0, 1, KEY_DOWN)
|
|
|
|
MATRIX_KEY(0, 2, KEY_VOLUMEDOWN)
|
|
|
|
MATRIX_KEY(0, 3, KEY_HOME)
|
|
|
|
MATRIX_KEY(1, 0, KEY_RIGHT)
|
|
|
|
MATRIX_KEY(1, 1, KEY_LEFT)
|
|
|
|
MATRIX_KEY(1, 2, KEY_ENTER)
|
|
|
|
MATRIX_KEY(1, 3, KEY_VOLUMEUP)
|
|
|
|
MATRIX_KEY(2, 0, KEY_F6)
|
|
|
|
MATRIX_KEY(2, 1, KEY_F8)
|
|
|
|
MATRIX_KEY(2, 2, KEY_F9)
|
|
|
|
MATRIX_KEY(2, 3, KEY_F10)
|
|
|
|
MATRIX_KEY(3, 0, KEY_F1)
|
|
|
|
MATRIX_KEY(3, 1, KEY_F2)
|
|
|
|
MATRIX_KEY(3, 2, KEY_F3)
|
|
|
|
MATRIX_KEY(3, 3, KEY_POWER)
|
|
|
|
>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-07-12 20:02:37 +07:00
|
|
|
&pmu {
|
|
|
|
secure-reg-access;
|
|
|
|
};
|
|
|
|
|
2012-12-31 10:32:48 +07:00
|
|
|
&ssi2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:55 +07:00
|
|
|
&uart1 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart1>;
|
2016-05-31 21:31:51 +07:00
|
|
|
uart-has-rtscts;
|
2014-04-16 14:24:55 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart2>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart3 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart3>;
|
2016-05-31 21:31:51 +07:00
|
|
|
uart-has-rtscts;
|
2014-04-16 14:24:55 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbh1 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usbh1>;
|
2015-01-06 00:19:08 +07:00
|
|
|
vbus-supply = <®_hub_reset>;
|
2018-07-03 20:05:54 +07:00
|
|
|
fsl,usbphy = <&usbphy1>;
|
2014-04-16 14:24:55 +07:00
|
|
|
phy_type = "ulpi";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2017-12-03 03:26:04 +07:00
|
|
|
&usbphy0 {
|
|
|
|
vcc-supply = <&vusb_reg>;
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:55 +07:00
|
|
|
&usbotg {
|
|
|
|
dr_mode = "otg";
|
|
|
|
disable-over-current;
|
|
|
|
phy_type = "utmi_wide";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2012-12-31 10:32:48 +07:00
|
|
|
&iomuxc {
|
2013-11-04 15:05:37 +07:00
|
|
|
imx51-babbage {
|
|
|
|
pinctrl_audmux: audmuxgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_AUD3_BB_TXD__AUD3_TXD 0x80000000
|
|
|
|
MX51_PAD_AUD3_BB_RXD__AUD3_RXD 0x80000000
|
|
|
|
MX51_PAD_AUD3_BB_CK__AUD3_TXC 0x80000000
|
|
|
|
MX51_PAD_AUD3_BB_FS__AUD3_TXFS 0x80000000
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2017-12-21 22:23:52 +07:00
|
|
|
pinctrl_clk26mhz_audio: clk26mhzaudiocgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_CSPI1_RDY__GPIO4_26 0x85
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_clk26mhz_osc: clk26mhzoscgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_DI1_PIN12__GPIO3_1 0x85
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_clk26mhz_usb: clk26mhzusbgrp {
|
2014-04-16 14:24:51 +07:00
|
|
|
fsl,pins = <
|
2017-12-21 22:23:52 +07:00
|
|
|
MX51_PAD_EIM_D17__GPIO2_1 0x85
|
2014-04-16 14:24:51 +07:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2013-11-04 15:05:37 +07:00
|
|
|
pinctrl_ecspi1: ecspi1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_CSPI1_MISO__ECSPI1_MISO 0x185
|
|
|
|
MX51_PAD_CSPI1_MOSI__ECSPI1_MOSI 0x185
|
|
|
|
MX51_PAD_CSPI1_SCLK__ECSPI1_SCLK 0x185
|
2014-04-16 14:24:51 +07:00
|
|
|
MX51_PAD_CSPI1_SS0__GPIO4_24 0x85 /* CS0 */
|
|
|
|
MX51_PAD_CSPI1_SS1__GPIO4_25 0x85 /* CS1 */
|
2013-11-04 15:05:37 +07:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_esdhc1: esdhc1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_SD1_CMD__SD1_CMD 0x400020d5
|
|
|
|
MX51_PAD_SD1_CLK__SD1_CLK 0x20d5
|
|
|
|
MX51_PAD_SD1_DATA0__SD1_DATA0 0x20d5
|
|
|
|
MX51_PAD_SD1_DATA1__SD1_DATA1 0x20d5
|
|
|
|
MX51_PAD_SD1_DATA2__SD1_DATA2 0x20d5
|
|
|
|
MX51_PAD_SD1_DATA3__SD1_DATA3 0x20d5
|
2014-05-23 19:33:04 +07:00
|
|
|
MX51_PAD_GPIO1_0__GPIO1_0 0x100
|
|
|
|
MX51_PAD_GPIO1_1__GPIO1_1 0x100
|
2013-11-04 15:05:37 +07:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_esdhc2: esdhc2grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_SD2_CMD__SD2_CMD 0x400020d5
|
|
|
|
MX51_PAD_SD2_CLK__SD2_CLK 0x20d5
|
|
|
|
MX51_PAD_SD2_DATA0__SD2_DATA0 0x20d5
|
|
|
|
MX51_PAD_SD2_DATA1__SD2_DATA1 0x20d5
|
|
|
|
MX51_PAD_SD2_DATA2__SD2_DATA2 0x20d5
|
|
|
|
MX51_PAD_SD2_DATA3__SD2_DATA3 0x20d5
|
2014-04-16 14:24:51 +07:00
|
|
|
MX51_PAD_GPIO1_5__GPIO1_5 0x100 /* WP */
|
|
|
|
MX51_PAD_GPIO1_6__GPIO1_6 0x100 /* CD */
|
2013-11-04 15:05:37 +07:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_fec: fecgrp {
|
|
|
|
fsl,pins = <
|
2014-05-08 13:17:30 +07:00
|
|
|
MX51_PAD_EIM_EB2__FEC_MDIO 0x000001f5
|
|
|
|
MX51_PAD_EIM_EB3__FEC_RDATA1 0x00000085
|
|
|
|
MX51_PAD_EIM_CS2__FEC_RDATA2 0x00000085
|
|
|
|
MX51_PAD_EIM_CS3__FEC_RDATA3 0x00000085
|
|
|
|
MX51_PAD_EIM_CS4__FEC_RX_ER 0x00000180
|
|
|
|
MX51_PAD_EIM_CS5__FEC_CRS 0x00000180
|
|
|
|
MX51_PAD_NANDF_RB2__FEC_COL 0x00000180
|
|
|
|
MX51_PAD_NANDF_RB3__FEC_RX_CLK 0x00000180
|
|
|
|
MX51_PAD_NANDF_D9__FEC_RDATA0 0x00002180
|
|
|
|
MX51_PAD_NANDF_D8__FEC_TDATA0 0x00002004
|
|
|
|
MX51_PAD_NANDF_CS2__FEC_TX_ER 0x00002004
|
|
|
|
MX51_PAD_NANDF_CS3__FEC_MDC 0x00002004
|
|
|
|
MX51_PAD_NANDF_CS4__FEC_TDATA1 0x00002004
|
|
|
|
MX51_PAD_NANDF_CS5__FEC_TDATA2 0x00002004
|
|
|
|
MX51_PAD_NANDF_CS6__FEC_TDATA3 0x00002004
|
|
|
|
MX51_PAD_NANDF_CS7__FEC_TX_EN 0x00002004
|
|
|
|
MX51_PAD_NANDF_RDY_INT__FEC_TX_CLK 0x00002180
|
|
|
|
MX51_PAD_NANDF_D11__FEC_RX_DV 0x000020a4
|
|
|
|
MX51_PAD_EIM_A20__GPIO2_14 0x00000085 /* Phy Reset */
|
2013-11-04 15:05:37 +07:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:51 +07:00
|
|
|
pinctrl_gpio_keys: gpiokeysgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_EIM_A27__GPIO2_21 0x5
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2014-02-10 14:05:46 +07:00
|
|
|
pinctrl_gpio_leds: gpioledsgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_EIM_D22__GPIO2_6 0x80000000
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:56 +07:00
|
|
|
pinctrl_i2c1: i2c1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_EIM_D19__I2C1_SCL 0x400001ed
|
|
|
|
MX51_PAD_EIM_D16__I2C1_SDA 0x400001ed
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2013-11-04 15:05:37 +07:00
|
|
|
pinctrl_i2c2: i2c2grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_KEY_COL4__I2C2_SCL 0x400001ed
|
|
|
|
MX51_PAD_KEY_COL5__I2C2_SDA 0x400001ed
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_ipu_disp1: ipudisp1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_DISP1_DAT0__DISP1_DAT0 0x5
|
|
|
|
MX51_PAD_DISP1_DAT1__DISP1_DAT1 0x5
|
|
|
|
MX51_PAD_DISP1_DAT2__DISP1_DAT2 0x5
|
|
|
|
MX51_PAD_DISP1_DAT3__DISP1_DAT3 0x5
|
|
|
|
MX51_PAD_DISP1_DAT4__DISP1_DAT4 0x5
|
|
|
|
MX51_PAD_DISP1_DAT5__DISP1_DAT5 0x5
|
|
|
|
MX51_PAD_DISP1_DAT6__DISP1_DAT6 0x5
|
|
|
|
MX51_PAD_DISP1_DAT7__DISP1_DAT7 0x5
|
|
|
|
MX51_PAD_DISP1_DAT8__DISP1_DAT8 0x5
|
|
|
|
MX51_PAD_DISP1_DAT9__DISP1_DAT9 0x5
|
|
|
|
MX51_PAD_DISP1_DAT10__DISP1_DAT10 0x5
|
|
|
|
MX51_PAD_DISP1_DAT11__DISP1_DAT11 0x5
|
|
|
|
MX51_PAD_DISP1_DAT12__DISP1_DAT12 0x5
|
|
|
|
MX51_PAD_DISP1_DAT13__DISP1_DAT13 0x5
|
|
|
|
MX51_PAD_DISP1_DAT14__DISP1_DAT14 0x5
|
|
|
|
MX51_PAD_DISP1_DAT15__DISP1_DAT15 0x5
|
|
|
|
MX51_PAD_DISP1_DAT16__DISP1_DAT16 0x5
|
|
|
|
MX51_PAD_DISP1_DAT17__DISP1_DAT17 0x5
|
|
|
|
MX51_PAD_DISP1_DAT18__DISP1_DAT18 0x5
|
|
|
|
MX51_PAD_DISP1_DAT19__DISP1_DAT19 0x5
|
|
|
|
MX51_PAD_DISP1_DAT20__DISP1_DAT20 0x5
|
|
|
|
MX51_PAD_DISP1_DAT21__DISP1_DAT21 0x5
|
|
|
|
MX51_PAD_DISP1_DAT22__DISP1_DAT22 0x5
|
|
|
|
MX51_PAD_DISP1_DAT23__DISP1_DAT23 0x5
|
|
|
|
MX51_PAD_DI1_PIN2__DI1_PIN2 0x5
|
|
|
|
MX51_PAD_DI1_PIN3__DI1_PIN3 0x5
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_ipu_disp2: ipudisp2grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_DISP2_DAT0__DISP2_DAT0 0x5
|
|
|
|
MX51_PAD_DISP2_DAT1__DISP2_DAT1 0x5
|
|
|
|
MX51_PAD_DISP2_DAT2__DISP2_DAT2 0x5
|
|
|
|
MX51_PAD_DISP2_DAT3__DISP2_DAT3 0x5
|
|
|
|
MX51_PAD_DISP2_DAT4__DISP2_DAT4 0x5
|
|
|
|
MX51_PAD_DISP2_DAT5__DISP2_DAT5 0x5
|
|
|
|
MX51_PAD_DISP2_DAT6__DISP2_DAT6 0x5
|
|
|
|
MX51_PAD_DISP2_DAT7__DISP2_DAT7 0x5
|
|
|
|
MX51_PAD_DISP2_DAT8__DISP2_DAT8 0x5
|
|
|
|
MX51_PAD_DISP2_DAT9__DISP2_DAT9 0x5
|
|
|
|
MX51_PAD_DISP2_DAT10__DISP2_DAT10 0x5
|
|
|
|
MX51_PAD_DISP2_DAT11__DISP2_DAT11 0x5
|
|
|
|
MX51_PAD_DISP2_DAT12__DISP2_DAT12 0x5
|
|
|
|
MX51_PAD_DISP2_DAT13__DISP2_DAT13 0x5
|
|
|
|
MX51_PAD_DISP2_DAT14__DISP2_DAT14 0x5
|
|
|
|
MX51_PAD_DISP2_DAT15__DISP2_DAT15 0x5
|
|
|
|
MX51_PAD_DI2_PIN2__DI2_PIN2 0x5
|
|
|
|
MX51_PAD_DI2_PIN3__DI2_PIN3 0x5
|
|
|
|
MX51_PAD_DI2_DISP_CLK__DI2_DISP_CLK 0x5
|
|
|
|
MX51_PAD_DI_GP4__DI2_PIN15 0x5
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_kpp: kppgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_KEY_ROW0__KEY_ROW0 0xe0
|
|
|
|
MX51_PAD_KEY_ROW1__KEY_ROW1 0xe0
|
|
|
|
MX51_PAD_KEY_ROW2__KEY_ROW2 0xe0
|
|
|
|
MX51_PAD_KEY_ROW3__KEY_ROW3 0xe0
|
|
|
|
MX51_PAD_KEY_COL0__KEY_COL0 0xe8
|
|
|
|
MX51_PAD_KEY_COL1__KEY_COL1 0xe8
|
|
|
|
MX51_PAD_KEY_COL2__KEY_COL2 0xe8
|
|
|
|
MX51_PAD_KEY_COL3__KEY_COL3 0xe8
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:52 +07:00
|
|
|
pinctrl_pmic: pmicgrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_GPIO1_8__GPIO1_8 0xe5 /* IRQ */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2013-11-04 15:05:37 +07:00
|
|
|
pinctrl_uart1: uart1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
|
|
|
|
MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
|
|
|
|
MX51_PAD_UART1_RTS__UART1_RTS 0x1c5
|
|
|
|
MX51_PAD_UART1_CTS__UART1_CTS 0x1c5
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_uart2: uart2grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_UART2_RXD__UART2_RXD 0x1c5
|
|
|
|
MX51_PAD_UART2_TXD__UART2_TXD 0x1c5
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_uart3: uart3grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_EIM_D25__UART3_RXD 0x1c5
|
|
|
|
MX51_PAD_EIM_D26__UART3_TXD 0x1c5
|
|
|
|
MX51_PAD_EIM_D27__UART3_RTS 0x1c5
|
|
|
|
MX51_PAD_EIM_D24__UART3_CTS 0x1c5
|
|
|
|
>;
|
|
|
|
};
|
2014-03-26 21:54:38 +07:00
|
|
|
|
|
|
|
pinctrl_usbh1: usbh1grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_USBH1_CLK__USBH1_CLK 0x80000000
|
|
|
|
MX51_PAD_USBH1_DIR__USBH1_DIR 0x80000000
|
|
|
|
MX51_PAD_USBH1_NXT__USBH1_NXT 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA0__USBH1_DATA0 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA1__USBH1_DATA1 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA2__USBH1_DATA2 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA3__USBH1_DATA3 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA4__USBH1_DATA4 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA5__USBH1_DATA5 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA6__USBH1_DATA6 0x80000000
|
|
|
|
MX51_PAD_USBH1_DATA7__USBH1_DATA7 0x80000000
|
2014-04-16 14:24:51 +07:00
|
|
|
>;
|
|
|
|
};
|
|
|
|
|
2014-04-16 14:24:54 +07:00
|
|
|
pinctrl_usbh1reg: usbh1reggrp {
|
2014-04-16 14:24:51 +07:00
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_EIM_D21__GPIO2_5 0x85
|
2014-03-26 21:54:38 +07:00
|
|
|
>;
|
|
|
|
};
|
2014-04-16 14:24:54 +07:00
|
|
|
|
|
|
|
pinctrl_usbotgreg: usbotgreggrp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX51_PAD_GPIO1_7__GPIO1_7 0x85
|
|
|
|
>;
|
|
|
|
};
|
2012-12-31 10:32:48 +07:00
|
|
|
};
|
|
|
|
};
|