Commit ef8932b9 authored by Kevin Hilman's avatar Kevin Hilman Committed by Olof Johansson

Merge tag 'mxs-dt-3.12' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

From Shawn Guo:
It contains mxs device tree changes for 3.12.

- New board addition and hogpins cleanup for Crystalfontz
- New pinctrl entry addition for lcd, ssp2 and saif0
- Add alias and labels for various nodes
- Enable devices like LRADC and USB for a couple of imx23 boards,
  and backlight for M28EVK

* tag 'mxs-dt-3.12' of git://git.linaro.org/people/shawnguo/linux-2.6:
  ARM: dts: mxs: add pin config for LCD sync and clock pins
  ARM: dts: mxs: add pin config for SSP3 interface
  ARM: dts: mxs: add another set of saif0_pins (without MCLK)
  ARM: dts: mxs: add labels to most nodes for easier reference
  ARM: dts: mxs: whitespace cleanup
  ARM: dts: mxs: Add spi alias
  ARM: dts: imx23-olinuxino: enable Low Resolution ADC
  ARM: dts: imx23-evk: enable Low Resolution ADC
  ARM: dts: imx23-evk: enable USB PHY and controller
  ARM: dts: mxs: remove old DMA binding data from client nodes
  ARM: mxs: Add backlight support for M28EVK
  ARM: mxs: dt: cfa10036: make hogpins grabbed by respective drivers
  ARM: mxs: dt: cfa10057: remove hogpins
  ARM: mxs: dt: cfa10055: make hogpins grabbed by respective drivers
  ARM: mxs: dt: cfa10049: make hogpins grabbed by respective drivers
  ARM: mxs: dt: cfa10037: make hogpins grabbed by respective drivers
  ARM: mxs: dt: Add Crystalfontz CFA-10058 device tree
  ARM: mxs: dt: Add Crystalfontz CFA-10056 device tree
parents a52552b5 23ad6f65
...@@ -144,7 +144,9 @@ dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \ ...@@ -144,7 +144,9 @@ dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
imx28-cfa10037.dtb \ imx28-cfa10037.dtb \
imx28-cfa10049.dtb \ imx28-cfa10049.dtb \
imx28-cfa10055.dtb \ imx28-cfa10055.dtb \
imx28-cfa10056.dtb \
imx28-cfa10057.dtb \ imx28-cfa10057.dtb \
imx28-cfa10058.dtb \
imx28-evk.dtb \ imx28-evk.dtb \
imx28-m28evk.dtb \ imx28-m28evk.dtb \
imx28-sps1.dtb \ imx28-sps1.dtb \
......
...@@ -90,6 +90,11 @@ timing0: timing0 { ...@@ -90,6 +90,11 @@ timing0: timing0 {
}; };
apbx@80040000 { apbx@80040000 {
lradc@80050000 {
status = "okay";
fsl,lradc-touchscreen-wires = <4>;
};
pwm: pwm@80064000 { pwm: pwm@80064000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pwm2_pins_a>; pinctrl-0 = <&pwm2_pins_a>;
...@@ -107,6 +112,16 @@ duart: serial@80070000 { ...@@ -107,6 +112,16 @@ duart: serial@80070000 {
pinctrl-0 = <&duart_pins_a>; pinctrl-0 = <&duart_pins_a>;
status = "okay"; status = "okay";
}; };
usbphy0: usbphy@8007c000 {
status = "okay";
};
};
};
ahb@80080000 {
usb0: usb@80080000 {
status = "okay";
}; };
}; };
......
...@@ -69,6 +69,10 @@ ssp1: ssp@80034000 { ...@@ -69,6 +69,10 @@ ssp1: ssp@80034000 {
}; };
apbx@80040000 { apbx@80040000 {
lradc@80050000 {
status = "okay";
};
duart: serial@80070000 { duart: serial@80070000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&duart_pins_a>; pinctrl-0 = <&duart_pins_a>;
......
...@@ -20,6 +20,8 @@ aliases { ...@@ -20,6 +20,8 @@ aliases {
gpio2 = &gpio2; gpio2 = &gpio2;
serial0 = &auart0; serial0 = &auart0;
serial1 = &auart1; serial1 = &auart1;
spi0 = &ssp0;
spi1 = &ssp1;
}; };
cpus { cpus {
...@@ -76,23 +78,21 @@ gpmi-nand@8000c000 { ...@@ -76,23 +78,21 @@ gpmi-nand@8000c000 {
#size-cells = <1>; #size-cells = <1>;
reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
reg-names = "gpmi-nand", "bch"; reg-names = "gpmi-nand", "bch";
interrupts = <13>, <56>; interrupts = <56>;
interrupt-names = "gpmi-dma", "bch"; interrupt-names = "bch";
clocks = <&clks 34>; clocks = <&clks 34>;
clock-names = "gpmi_io"; clock-names = "gpmi_io";
dmas = <&dma_apbh 4>; dmas = <&dma_apbh 4>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,gpmi-dma-channel = <4>;
status = "disabled"; status = "disabled";
}; };
ssp0: ssp@80010000 { ssp0: ssp@80010000 {
reg = <0x80010000 0x2000>; reg = <0x80010000 0x2000>;
interrupts = <15 14>; interrupts = <15>;
clocks = <&clks 33>; clocks = <&clks 33>;
dmas = <&dma_apbh 1>; dmas = <&dma_apbh 1>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,ssp-dma-channel = <1>;
status = "disabled"; status = "disabled";
}; };
...@@ -366,11 +366,10 @@ lcdif@80030000 { ...@@ -366,11 +366,10 @@ lcdif@80030000 {
ssp1: ssp@80034000 { ssp1: ssp@80034000 {
reg = <0x80034000 0x2000>; reg = <0x80034000 0x2000>;
interrupts = <2 20>; interrupts = <2>;
clocks = <&clks 33>; clocks = <&clks 33>;
dmas = <&dma_apbh 2>; dmas = <&dma_apbh 2>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,ssp-dma-channel = <2>;
status = "disabled"; status = "disabled";
}; };
...@@ -472,7 +471,7 @@ timrot@80068000 { ...@@ -472,7 +471,7 @@ timrot@80068000 {
auart0: serial@8006c000 { auart0: serial@8006c000 {
compatible = "fsl,imx23-auart"; compatible = "fsl,imx23-auart";
reg = <0x8006c000 0x2000>; reg = <0x8006c000 0x2000>;
interrupts = <24 25 23>; interrupts = <24>;
clocks = <&clks 32>; clocks = <&clks 32>;
dmas = <&dma_apbx 6>, <&dma_apbx 7>; dmas = <&dma_apbx 6>, <&dma_apbx 7>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
...@@ -482,7 +481,7 @@ auart0: serial@8006c000 { ...@@ -482,7 +481,7 @@ auart0: serial@8006c000 {
auart1: serial@8006e000 { auart1: serial@8006e000 {
compatible = "fsl,imx23-auart"; compatible = "fsl,imx23-auart";
reg = <0x8006e000 0x2000>; reg = <0x8006e000 0x2000>;
interrupts = <59 60 58>; interrupts = <59>;
clocks = <&clks 32>; clocks = <&clks 32>;
dmas = <&dma_apbx 8>, <&dma_apbx 9>; dmas = <&dma_apbx 8>, <&dma_apbx 9>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
......
...@@ -23,10 +23,7 @@ memory { ...@@ -23,10 +23,7 @@ memory {
apb@80000000 { apb@80000000 {
apbh@80000000 { apbh@80000000 {
pinctrl@80018000 { pinctrl@80018000 {
pinctrl-names = "default"; ssd1306_cfa10036: ssd1306-10036@0 {
pinctrl-0 = <&hog_pins_cfa10036>;
hog_pins_cfa10036: hog-10036@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */ 0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */
...@@ -83,6 +80,8 @@ i2c0: i2c@80058000 { ...@@ -83,6 +80,8 @@ i2c0: i2c@80058000 {
ssd1306: oled@3c { ssd1306: oled@3c {
compatible = "solomon,ssd1306fb-i2c"; compatible = "solomon,ssd1306fb-i2c";
pinctrl-names = "default";
pinctrl-0 = <&ssd1306_cfa10036>;
reg = <0x3c>; reg = <0x3c>;
reset-gpios = <&gpio2 7 0>; reset-gpios = <&gpio2 7 0>;
solomon,height = <32>; solomon,height = <32>;
......
...@@ -22,13 +22,19 @@ / { ...@@ -22,13 +22,19 @@ / {
apb@80000000 { apb@80000000 {
apbh@80000000 { apbh@80000000 {
pinctrl@80018000 { pinctrl@80018000 {
pinctrl-names = "default", "default"; usb_pins_cfa10037: usb-10037@0 {
pinctrl-1 = <&hog_pins_cfa10037>;
hog_pins_cfa10037: hog-10037@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
mac0_pins_cfa10037: mac0-10037@0 {
reg = <0>;
fsl,pinmux-ids = <
0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
>; >;
fsl,drive-strength = <0>; fsl,drive-strength = <0>;
...@@ -56,7 +62,8 @@ usb1: usb@80090000 { ...@@ -56,7 +62,8 @@ usb1: usb@80090000 {
mac0: ethernet@800f0000 { mac0: ethernet@800f0000 {
phy-mode = "rmii"; phy-mode = "rmii";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mac0_pins_a>; pinctrl-0 = <&mac0_pins_a
&mac0_pins_cfa10037>;
phy-reset-gpios = <&gpio2 21 0>; phy-reset-gpios = <&gpio2 21 0>;
phy-reset-duration = <100>; phy-reset-duration = <100>;
status = "okay"; status = "okay";
...@@ -68,6 +75,8 @@ regulators { ...@@ -68,6 +75,8 @@ regulators {
reg_usb1_vbus: usb1_vbus { reg_usb1_vbus: usb1_vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&usb_pins_cfa10037>;
regulator-name = "usb1_vbus"; regulator-name = "usb1_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
......
...@@ -22,32 +22,62 @@ / { ...@@ -22,32 +22,62 @@ / {
apb@80000000 { apb@80000000 {
apbh@80000000 { apbh@80000000 {
pinctrl@80018000 { pinctrl@80018000 {
pinctrl-names = "default", "default"; usb_pins_cfa10049: usb-10049@0 {
pinctrl-1 = <&hog_pins_cfa10049
&hog_pins_cfa10049_pullup>;
hog_pins_cfa10049: hog-10049@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
i2cmux_pins_cfa10049: i2cmux-10049@0 {
reg = <0>;
fsl,pinmux-ids = <
0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */ 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */ 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
mac0_pins_cfa10049: mac0-10049@0 {
reg = <0>;
fsl,pinmux-ids = <
0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */ 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
>; >;
fsl,drive-strength = <0>; fsl,drive-strength = <0>;
fsl,voltage = <1>; fsl,voltage = <1>;
fsl,pull-up = <0>; fsl,pull-up = <0>;
}; };
hog_pins_cfa10049_pullup: hog-10049-pullup@0 { pca_pins_cfa10049: pca-10049@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */ 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
rotary_pins_cfa10049: rotary-10049@0 {
reg = <0>;
fsl,pinmux-ids = <
0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */ 0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */
0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */ 0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
rotary_btn_pins_cfa10049: rotary-btn-10049@0 {
reg = <0>;
fsl,pinmux-ids = <
0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */ 0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
>; >;
fsl,drive-strength = <0>; fsl,drive-strength = <0>;
fsl,voltage = <1>; fsl,voltage = <1>;
...@@ -60,6 +90,7 @@ spi2_pins_cfa10049: spi2-cfa10049@0 { ...@@ -60,6 +90,7 @@ spi2_pins_cfa10049: spi2-cfa10049@0 {
0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */ 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */
0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */ 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */
0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */ 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */
0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
>; >;
fsl,drive-strength = <1>; fsl,drive-strength = <1>;
fsl,voltage = <1>; fsl,voltage = <1>;
...@@ -120,6 +151,16 @@ lcdif_pins_cfa10049: lcdif-evk@0 { ...@@ -120,6 +151,16 @@ lcdif_pins_cfa10049: lcdif-evk@0 {
fsl,pull-up = <0>; fsl,pull-up = <0>;
}; };
lcdif_pins_cfa10049_pullup: lcdif-10049-pullup@0 {
reg = <0>;
fsl,pinmux-ids = <
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
w1_gpio_pins: w1-gpio@0 { w1_gpio_pins: w1-gpio@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
...@@ -134,7 +175,8 @@ w1_gpio_pins: w1-gpio@0 { ...@@ -134,7 +175,8 @@ w1_gpio_pins: w1-gpio@0 {
lcdif@80030000 { lcdif@80030000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&lcdif_18bit_pins_cfa10049 pinctrl-0 = <&lcdif_18bit_pins_cfa10049
&lcdif_pins_cfa10049>; &lcdif_pins_cfa10049
&lcdif_pins_cfa10049_pullup>;
display = <&display>; display = <&display>;
status = "okay"; status = "okay";
...@@ -181,6 +223,8 @@ i2cmux { ...@@ -181,6 +223,8 @@ i2cmux {
compatible = "i2c-mux-gpio"; compatible = "i2c-mux-gpio";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2cmux_pins_cfa10049>;
mux-gpios = <&gpio1 22 0 &gpio1 23 0>; mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
i2c-parent = <&i2c1>; i2c-parent = <&i2c1>;
...@@ -203,6 +247,8 @@ i2c@3 { ...@@ -203,6 +247,8 @@ i2c@3 {
pca9555: pca9555@20 { pca9555: pca9555@20 {
compatible = "nxp,pca9555"; compatible = "nxp,pca9555";
pinctrl-names = "default";
pinctrl-0 = <&pca_pins_cfa10049>;
interrupt-parent = <&gpio2>; interrupt-parent = <&gpio2>;
interrupts = <19 0x2>; interrupts = <19 0x2>;
gpio-controller; gpio-controller;
...@@ -239,6 +285,8 @@ regulators { ...@@ -239,6 +285,8 @@ regulators {
reg_usb1_vbus: usb1_vbus { reg_usb1_vbus: usb1_vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&usb_pins_cfa10049>;
regulator-name = "usb1_vbus"; regulator-name = "usb1_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
...@@ -250,7 +298,8 @@ ahb@80080000 { ...@@ -250,7 +298,8 @@ ahb@80080000 {
mac0: ethernet@800f0000 { mac0: ethernet@800f0000 {
phy-mode = "rmii"; phy-mode = "rmii";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mac0_pins_a>; pinctrl-0 = <&mac0_pins_a
&mac0_pins_cfa10049>;
phy-reset-gpios = <&gpio2 21 0>; phy-reset-gpios = <&gpio2 21 0>;
phy-reset-duration = <100>; phy-reset-duration = <100>;
status = "okay"; status = "okay";
...@@ -320,6 +369,8 @@ dac0: dh2228@2 { ...@@ -320,6 +369,8 @@ dac0: dh2228@2 {
gpio_keys { gpio_keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&rotary_btn_pins_cfa10049>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -333,6 +384,8 @@ rotary_button { ...@@ -333,6 +384,8 @@ rotary_button {
rotary { rotary {
compatible = "rotary-encoder"; compatible = "rotary-encoder";
pinctrl-names = "default";
pinctrl-0 = <&rotary_pins_cfa10049>;
gpios = <&gpio3 24 1>, <&gpio3 25 1>; gpios = <&gpio3 24 1>, <&gpio3 25 1>;
linux,axis = <1>; /* REL_Y */ linux,axis = <1>; /* REL_Y */
rotary-encoder,relative-axis; rotary-encoder,relative-axis;
......
...@@ -23,36 +23,13 @@ / { ...@@ -23,36 +23,13 @@ / {
apb@80000000 { apb@80000000 {
apbh@80000000 { apbh@80000000 {
pinctrl@80018000 { pinctrl@80018000 {
pinctrl-names = "default", "default";
pinctrl-1 = <&hog_pins_cfa10055
&hog_pins_cfa10055_pullup>;
hog_pins_cfa10055: hog-10055@0 {
reg = <0>;
fsl,pinmux-ids = <
0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
hog_pins_cfa10055_pullup: hog-10055-pullup@0 {
reg = <0>;
fsl,pinmux-ids = <
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
spi2_pins_cfa10055: spi2-cfa10055@0 { spi2_pins_cfa10055: spi2-cfa10055@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */ 0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */
0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */ 0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */
0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */ 0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */
0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
>; >;
fsl,drive-strength = <1>; fsl,drive-strength = <1>;
fsl,voltage = <1>; fsl,voltage = <1>;
...@@ -98,12 +75,23 @@ lcdif_pins_cfa10055: lcdif-evk@0 { ...@@ -98,12 +75,23 @@ lcdif_pins_cfa10055: lcdif-evk@0 {
fsl,voltage = <1>; fsl,voltage = <1>;
fsl,pull-up = <0>; fsl,pull-up = <0>;
}; };
lcdif_pins_cfa10055_pullup: lcdif-10055-pullup@0 {
reg = <0>;
fsl,pinmux-ids = <
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
}; };
lcdif@80030000 { lcdif@80030000 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&lcdif_18bit_pins_cfa10055 pinctrl-0 = <&lcdif_18bit_pins_cfa10055
&lcdif_pins_cfa10055>; &lcdif_pins_cfa10055
&lcdif_pins_cfa10055_pullup>;
display = <&display>; display = <&display>;
status = "okay"; status = "okay";
......
/*
* Copyright 2013 Free Electrons
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
/*
* The CFA-10055 is an expansion board for the CFA-10036 module and
* CFA-10037, thus we need to include the CFA-10037 DTS.
*/
/include/ "imx28-cfa10037.dts"
/ {
model = "Crystalfontz CFA-10056 Board";
compatible = "crystalfontz,cfa10056", "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
apb@80000000 {
apbh@80000000 {
pinctrl@80018000 {
spi2_pins_cfa10056: spi2-cfa10056@0 {
reg = <0>;
fsl,pinmux-ids = <
0x2103 /* MX28_PAD_SSP2_SCK__GPIO_2_16 */
0x2113 /* MX28_PAD_SSP2_CMD__GPIO_2_17 */
0x2123 /* MX28_PAD_SSP2_D0__GPIO_2_18 */
0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
>;
fsl,drive-strength = <1>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
lcdif_pins_cfa10056: lcdif-10056@0 {
reg = <0>;
fsl,pinmux-ids = <
0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
lcdif_pins_cfa10056_pullup: lcdif-10056-pullup@0 {
reg = <0>;
fsl,pinmux-ids = <
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
};
lcdif@80030000 {
pinctrl-names = "default";
pinctrl-0 = <&lcdif_24bit_pins_a
&lcdif_pins_cfa10056
&lcdif_pins_cfa10056_pullup >;
display = <&display>;
status = "okay";
display: display {
bits-per-pixel = <32>;
bus-width = <24>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <32000000>;
hactive = <480>;
vactive = <800>;
hback-porch = <2>;
hfront-porch = <2>;
vback-porch = <2>;
vfront-porch = <2>;
hsync-len = <5>;
vsync-len = <5>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
};
};
};
};
};
spi2 {
compatible = "spi-gpio";
pinctrl-names = "default";
pinctrl-0 = <&spi2_pins_cfa10056>;
status = "okay";
gpio-sck = <&gpio2 16 0>;
gpio-mosi = <&gpio2 17 0>;
gpio-miso = <&gpio2 18 0>;
cs-gpios = <&gpio3 5 0>;
num-chipselects = <1>;
#address-cells = <1>;
#size-cells = <0>;
hx8369: hx8369@0 {
compatible = "himax,hx8369a", "himax,hx8369";
reg = <0>;
spi-max-frequency = <100000>;
spi-cpol;
spi-cpha;
gpios-reset = <&gpio3 30 0>;
};
};
};
...@@ -23,35 +23,16 @@ / { ...@@ -23,35 +23,16 @@ / {
apb@80000000 { apb@80000000 {
apbh@80000000 { apbh@80000000 {
pinctrl@80018000 { pinctrl@80018000 {
pinctrl-names = "default", "default"; usb_pins_cfa10057: usb-10057@0 {
pinctrl-1 = <&hog_pins_cfa10057
&hog_pins_cfa10057_pullup>;
hog_pins_cfa10057: hog-10057@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */ 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
>; >;
fsl,drive-strength = <0>; fsl,drive-strength = <0>;
fsl,voltage = <1>; fsl,voltage = <1>;
fsl,pull-up = <0>; fsl,pull-up = <0>;
}; };
hog_pins_cfa10057_pullup: hog-10057-pullup@0 {
reg = <0>;
fsl,pinmux-ids = <
0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
0x3183 /* MX28_PAD_I2C0_SCL__GPIO_3_24 */
0x3193 /* MX28_PAD_I2C0_SDA__GPIO_3_25 */
0x31a3 /* MX28_PAD_SAIF_SDATA0__GPIO_3_26 */
0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
lcdif_18bit_pins_cfa10057: lcdif-18bit@0 { lcdif_18bit_pins_cfa10057: lcdif-18bit@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
...@@ -164,6 +145,8 @@ regulators { ...@@ -164,6 +145,8 @@ regulators {
reg_usb1_vbus: usb1_vbus { reg_usb1_vbus: usb1_vbus {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&usb_pins_cfa10057>;
regulator-name = "usb1_vbus"; regulator-name = "usb1_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
......
/*
* Copyright 2013 Crystalfontz America, Inc.
* Copyright 2013 Free Electrons
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
/*
* The CFA-10058 is an expansion board for the CFA-10036 module, thus we
* need to include the CFA-10036 DTS.
*/
/include/ "imx28-cfa10036.dts"
/ {
model = "Crystalfontz CFA-10058 Board";
compatible = "crystalfontz,cfa10058", "crystalfontz,cfa10036", "fsl,imx28";
apb@80000000 {
apbh@80000000 {
pinctrl@80018000 {
usb_pins_cfa10058: usb-10058@0 {
reg = <0>;
fsl,pinmux-ids = <
0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
lcdif_pins_cfa10058: lcdif-10058@0 {
reg = <0>;
fsl,pinmux-ids = <
0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
};
lcdif@80030000 {
pinctrl-names = "default";
pinctrl-0 = <&lcdif_24bit_pins_a
&lcdif_pins_cfa10058>;
display = <&display>;
status = "okay";
display: display {
bits-per-pixel = <32>;
bus-width = <24>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <30000000>;
hactive = <800>;
vactive = <480>;
hback-porch = <40>;
hfront-porch = <40>;
vback-porch = <13>;
vfront-porch = <29>;
hsync-len = <8>;
vsync-len = <8>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
};
};
};
};
apbx@80040000 {
lradc@80050000 {
fsl,lradc-touchscreen-wires = <4>;
status = "okay";
};
pwm: pwm@80064000 {
pinctrl-names = "default";
pinctrl-0 = <&pwm3_pins_b>;
status = "okay";
};
usbphy1: usbphy@8007e000 {
status = "okay";
};
};
};
ahb@80080000 {
usb1: usb@80090000 {
vbus-supply = <&reg_usb1_vbus>;
pinctrl-0 = <&usbphy1_pins_a>;
pinctrl-names = "default";
status = "okay";
};
};
regulators {
compatible = "simple-bus";
reg_usb1_vbus: usb1_vbus {
pinctrl-names = "default";
pinctrl-0 = <&usb_pins_cfa10058>;
compatible = "regulator-fixed";
regulator-name = "usb1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio0 7 1>;
};
};
ahb@80080000 {
mac0: ethernet@800f0000 {
phy-mode = "rmii";
pinctrl-names = "default";
pinctrl-0 = <&mac0_pins_a>;
phy-reset-gpios = <&gpio2 21 0>;
phy-reset-duration = <100>;
status = "okay";
};
};
backlight {
compatible = "pwm-backlight";
pwms = <&pwm 3 5000000>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>;
};
};
...@@ -235,6 +235,12 @@ auart2: serial@8006e000 { ...@@ -235,6 +235,12 @@ auart2: serial@8006e000 {
pinctrl-0 = <&auart2_2pins_b>; pinctrl-0 = <&auart2_2pins_b>;
status = "okay"; status = "okay";
}; };
pwm: pwm@80064000 {
pinctrl-names = "default";
pinctrl-0 = <&pwm4_pins_a>;
status = "okay";
};
}; };
}; };
...@@ -270,6 +276,13 @@ mac1: ethernet@800f4000 { ...@@ -270,6 +276,13 @@ mac1: ethernet@800f4000 {
}; };
}; };
backlight {
compatible = "pwm-backlight";
pwms = <&pwm 4 5000000>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>;
};
regulators { regulators {
compatible = "simple-bus"; compatible = "simple-bus";
......
...@@ -15,6 +15,8 @@ / { ...@@ -15,6 +15,8 @@ / {
interrupt-parent = <&icoll>; interrupt-parent = <&icoll>;
aliases { aliases {
ethernet0 = &mac0;
ethernet1 = &mac1;
gpio0 = &gpio0; gpio0 = &gpio0;
gpio1 = &gpio1; gpio1 = &gpio1;
gpio2 = &gpio2; gpio2 = &gpio2;
...@@ -27,8 +29,8 @@ aliases { ...@@ -27,8 +29,8 @@ aliases {
serial2 = &auart2; serial2 = &auart2;
serial3 = &auart3; serial3 = &auart3;
serial4 = &auart4; serial4 = &auart4;
ethernet0 = &mac0; spi0 = &ssp1;
ethernet1 = &mac1; spi1 = &ssp2;
}; };
cpus { cpus {
...@@ -62,9 +64,9 @@ icoll: interrupt-controller@80000000 { ...@@ -62,9 +64,9 @@ icoll: interrupt-controller@80000000 {
reg = <0x80000000 0x2000>; reg = <0x80000000 0x2000>;
}; };
hsadc@80002000 { hsadc: hsadc@80002000 {
reg = <0x80002000 0x2000>; reg = <0x80002000 0x2000>;
interrupts = <13 87>; interrupts = <13>;
dmas = <&dma_apbh 12>; dmas = <&dma_apbh 12>;
dma-names = "rx"; dma-names = "rx";
status = "disabled"; status = "disabled";
...@@ -86,25 +88,24 @@ dma_apbh: dma-apbh@80004000 { ...@@ -86,25 +88,24 @@ dma_apbh: dma-apbh@80004000 {
clocks = <&clks 25>; clocks = <&clks 25>;
}; };
perfmon@80006000 { perfmon: perfmon@80006000 {
reg = <0x80006000 0x800>; reg = <0x80006000 0x800>;
interrupts = <27>; interrupts = <27>;
status = "disabled"; status = "disabled";
}; };
gpmi-nand@8000c000 { gpmi: gpmi-nand@8000c000 {
compatible = "fsl,imx28-gpmi-nand"; compatible = "fsl,imx28-gpmi-nand";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
reg-names = "gpmi-nand", "bch"; reg-names = "gpmi-nand", "bch";
interrupts = <88>, <41>; interrupts = <41>;
interrupt-names = "gpmi-dma", "bch"; interrupt-names = "bch";
clocks = <&clks 50>; clocks = <&clks 50>;
clock-names = "gpmi_io"; clock-names = "gpmi_io";
dmas = <&dma_apbh 4>; dmas = <&dma_apbh 4>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,gpmi-dma-channel = <4>;
status = "disabled"; status = "disabled";
}; };
...@@ -112,11 +113,10 @@ ssp0: ssp@80010000 { ...@@ -112,11 +113,10 @@ ssp0: ssp@80010000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x80010000 0x2000>; reg = <0x80010000 0x2000>;
interrupts = <96 82>; interrupts = <96>;
clocks = <&clks 46>; clocks = <&clks 46>;
dmas = <&dma_apbh 0>; dmas = <&dma_apbh 0>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,ssp-dma-channel = <0>;
status = "disabled"; status = "disabled";
}; };
...@@ -124,11 +124,10 @@ ssp1: ssp@80012000 { ...@@ -124,11 +124,10 @@ ssp1: ssp@80012000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x80012000 0x2000>; reg = <0x80012000 0x2000>;
interrupts = <97 83>; interrupts = <97>;
clocks = <&clks 47>; clocks = <&clks 47>;
dmas = <&dma_apbh 1>; dmas = <&dma_apbh 1>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,ssp-dma-channel = <1>;
status = "disabled"; status = "disabled";
}; };
...@@ -136,11 +135,10 @@ ssp2: ssp@80014000 { ...@@ -136,11 +135,10 @@ ssp2: ssp@80014000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x80014000 0x2000>; reg = <0x80014000 0x2000>;
interrupts = <98 84>; interrupts = <98>;
clocks = <&clks 48>; clocks = <&clks 48>;
dmas = <&dma_apbh 2>; dmas = <&dma_apbh 2>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,ssp-dma-channel = <2>;
status = "disabled"; status = "disabled";
}; };
...@@ -148,15 +146,14 @@ ssp3: ssp@80016000 { ...@@ -148,15 +146,14 @@ ssp3: ssp@80016000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x80016000 0x2000>; reg = <0x80016000 0x2000>;
interrupts = <99 85>; interrupts = <99>;
clocks = <&clks 49>; clocks = <&clks 49>;
dmas = <&dma_apbh 3>; dmas = <&dma_apbh 3>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,ssp-dma-channel = <3>;
status = "disabled"; status = "disabled";
}; };
pinctrl@80018000 { pinctrl: pinctrl@80018000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,imx28-pinctrl", "simple-bus"; compatible = "fsl,imx28-pinctrl", "simple-bus";
...@@ -521,6 +518,18 @@ saif0_pins_a: saif0@0 { ...@@ -521,6 +518,18 @@ saif0_pins_a: saif0@0 {
fsl,pull-up = <1>; fsl,pull-up = <1>;
}; };
saif0_pins_b: saif0@1 {
reg = <1>;
fsl,pinmux-ids = <
0x3150 /* MX28_PAD_SAIF0_LRCLK__SAIF0_LRCLK */
0x3160 /* MX28_PAD_SAIF0_BITCLK__SAIF0_BITCLK */
0x3170 /* MX28_PAD_SAIF0_SDATA0__SAIF0_SDATA0 */
>;
fsl,drive-strength = <2>;
fsl,voltage = <1>;
fsl,pull-up = <1>;
};
saif1_pins_a: saif1@0 { saif1_pins_a: saif1@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
...@@ -639,6 +648,19 @@ lcdif_16bit_pins_a: lcdif-16bit@0 { ...@@ -639,6 +648,19 @@ lcdif_16bit_pins_a: lcdif-16bit@0 {
fsl,pull-up = <0>; fsl,pull-up = <0>;
}; };
lcdif_sync_pins_a: lcdif-sync@0 {
reg = <0>;
fsl,pinmux-ids = <
0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
>;
fsl,drive-strength = <0>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
can0_pins_a: can0@0 { can0_pins_a: can0@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
...@@ -674,6 +696,21 @@ spi2_pins_a: spi2@0 { ...@@ -674,6 +696,21 @@ spi2_pins_a: spi2@0 {
fsl,pull-up = <1>; fsl,pull-up = <1>;
}; };
spi3_pins_a: spi3@0 {
reg = <0>;
fsl,pinmux-ids = <
0x3082 /* MX28_PAD_AUART2_RX__SSP3_D4 */
0x3092 /* MX28_PAD_AUART2_TX__SSP3_D5 */
0x2180 /* MX28_PAD_SSP3_SCK__SSP3_SCK */
0x2190 /* MX28_PAD_SSP3_MOSI__SSP3_CMD */
0x21A0 /* MX28_PAD_SSP3_MISO__SSP3_D0 */
0x21B0 /* MX28_PAD_SSP3_SS0__SSP3_D3 */
>;
fsl,drive-strength = <1>;
fsl,voltage = <1>;
fsl,pull-up = <0>;
};
usbphy0_pins_a: usbphy0@0 { usbphy0_pins_a: usbphy0@0 {
reg = <0>; reg = <0>;
fsl,pinmux-ids = < fsl,pinmux-ids = <
...@@ -705,14 +742,14 @@ usbphy1_pins_a: usbphy1@0 { ...@@ -705,14 +742,14 @@ usbphy1_pins_a: usbphy1@0 {
}; };
}; };
digctl@8001c000 { digctl: digctl@8001c000 {
compatible = "fsl,imx28-digctl", "fsl,imx23-digctl"; compatible = "fsl,imx28-digctl", "fsl,imx23-digctl";
reg = <0x8001c000 0x2000>; reg = <0x8001c000 0x2000>;
interrupts = <89>; interrupts = <89>;
status = "disabled"; status = "disabled";
}; };
etm@80022000 { etm: etm@80022000 {
reg = <0x80022000 0x2000>; reg = <0x80022000 0x2000>;
status = "disabled"; status = "disabled";
}; };
...@@ -733,19 +770,19 @@ dma_apbx: dma-apbx@80024000 { ...@@ -733,19 +770,19 @@ dma_apbx: dma-apbx@80024000 {
clocks = <&clks 26>; clocks = <&clks 26>;
}; };
dcp@80028000 { dcp: dcp@80028000 {
reg = <0x80028000 0x2000>; reg = <0x80028000 0x2000>;
interrupts = <52 53 54>; interrupts = <52 53 54>;
compatible = "fsl-dcp"; compatible = "fsl-dcp";
}; };
pxp@8002a000 { pxp: pxp@8002a000 {
reg = <0x8002a000 0x2000>; reg = <0x8002a000 0x2000>;
interrupts = <39>; interrupts = <39>;
status = "disabled"; status = "disabled";
}; };
ocotp@8002c000 { ocotp: ocotp@8002c000 {
compatible = "fsl,ocotp"; compatible = "fsl,ocotp";
reg = <0x8002c000 0x2000>; reg = <0x8002c000 0x2000>;
status = "disabled"; status = "disabled";
...@@ -756,10 +793,10 @@ axi-ahb@8002e000 { ...@@ -756,10 +793,10 @@ axi-ahb@8002e000 {
status = "disabled"; status = "disabled";
}; };
lcdif@80030000 { lcdif: lcdif@80030000 {
compatible = "fsl,imx28-lcdif"; compatible = "fsl,imx28-lcdif";
reg = <0x80030000 0x2000>; reg = <0x80030000 0x2000>;
interrupts = <38 86>; interrupts = <38>;
clocks = <&clks 55>; clocks = <&clks 55>;
dmas = <&dma_apbh 13>; dmas = <&dma_apbh 13>;
dma-names = "rx"; dma-names = "rx";
...@@ -784,41 +821,41 @@ can1: can@80034000 { ...@@ -784,41 +821,41 @@ can1: can@80034000 {
status = "disabled"; status = "disabled";
}; };
simdbg@8003c000 { simdbg: simdbg@8003c000 {
reg = <0x8003c000 0x200>; reg = <0x8003c000 0x200>;
status = "disabled"; status = "disabled";
}; };
simgpmisel@8003c200 { simgpmisel: simgpmisel@8003c200 {
reg = <0x8003c200 0x100>; reg = <0x8003c200 0x100>;
status = "disabled"; status = "disabled";
}; };
simsspsel@8003c300 { simsspsel: simsspsel@8003c300 {
reg = <0x8003c300 0x100>; reg = <0x8003c300 0x100>;
status = "disabled"; status = "disabled";
}; };
simmemsel@8003c400 { simmemsel: simmemsel@8003c400 {
reg = <0x8003c400 0x100>; reg = <0x8003c400 0x100>;
status = "disabled"; status = "disabled";
}; };
gpiomon@8003c500 { gpiomon: gpiomon@8003c500 {
reg = <0x8003c500 0x100>; reg = <0x8003c500 0x100>;
status = "disabled"; status = "disabled";
}; };
simenet@8003c700 { simenet: simenet@8003c700 {
reg = <0x8003c700 0x100>; reg = <0x8003c700 0x100>;
status = "disabled"; status = "disabled";
}; };
armjtag@8003c800 { armjtag: armjtag@8003c800 {
reg = <0x8003c800 0x100>; reg = <0x8003c800 0x100>;
status = "disabled"; status = "disabled";
}; };
}; };
apbx@80040000 { apbx@80040000 {
compatible = "simple-bus"; compatible = "simple-bus";
...@@ -836,16 +873,15 @@ clks: clkctrl@80040000 { ...@@ -836,16 +873,15 @@ clks: clkctrl@80040000 {
saif0: saif@80042000 { saif0: saif@80042000 {
compatible = "fsl,imx28-saif"; compatible = "fsl,imx28-saif";
reg = <0x80042000 0x2000>; reg = <0x80042000 0x2000>;
interrupts = <59 80>; interrupts = <59>;
#clock-cells = <0>; #clock-cells = <0>;
clocks = <&clks 53>; clocks = <&clks 53>;
dmas = <&dma_apbx 4>; dmas = <&dma_apbx 4>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,saif-dma-channel = <4>;
status = "disabled"; status = "disabled";
}; };
power@80044000 { power: power@80044000 {
reg = <0x80044000 0x2000>; reg = <0x80044000 0x2000>;
status = "disabled"; status = "disabled";
}; };
...@@ -853,15 +889,14 @@ power@80044000 { ...@@ -853,15 +889,14 @@ power@80044000 {
saif1: saif@80046000 { saif1: saif@80046000 {
compatible = "fsl,imx28-saif"; compatible = "fsl,imx28-saif";
reg = <0x80046000 0x2000>; reg = <0x80046000 0x2000>;
interrupts = <58 81>; interrupts = <58>;
clocks = <&clks 54>; clocks = <&clks 54>;
dmas = <&dma_apbx 5>; dmas = <&dma_apbx 5>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,saif-dma-channel = <5>;
status = "disabled"; status = "disabled";
}; };
lradc@80050000 { lradc: lradc@80050000 {
compatible = "fsl,imx28-lradc"; compatible = "fsl,imx28-lradc";
reg = <0x80050000 0x2000>; reg = <0x80050000 0x2000>;
interrupts = <10 14 15 16 17 18 19 interrupts = <10 14 15 16 17 18 19
...@@ -869,15 +904,15 @@ lradc@80050000 { ...@@ -869,15 +904,15 @@ lradc@80050000 {
status = "disabled"; status = "disabled";
}; };
spdif@80054000 { spdif: spdif@80054000 {
reg = <0x80054000 0x2000>; reg = <0x80054000 0x2000>;
interrupts = <45 66>; interrupts = <45>;
dmas = <&dma_apbx 2>; dmas = <&dma_apbx 2>;
dma-names = "tx"; dma-names = "tx";
status = "disabled"; status = "disabled";
}; };
rtc@80056000 { mxs_rtc: rtc@80056000 {
compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc"; compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";
reg = <0x80056000 0x2000>; reg = <0x80056000 0x2000>;
interrupts = <29>; interrupts = <29>;
...@@ -888,11 +923,10 @@ i2c0: i2c@80058000 { ...@@ -888,11 +923,10 @@ i2c0: i2c@80058000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,imx28-i2c"; compatible = "fsl,imx28-i2c";
reg = <0x80058000 0x2000>; reg = <0x80058000 0x2000>;
interrupts = <111 68>; interrupts = <111>;
clock-frequency = <100000>; clock-frequency = <100000>;
dmas = <&dma_apbx 6>; dmas = <&dma_apbx 6>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,i2c-dma-channel = <6>;
status = "disabled"; status = "disabled";
}; };
...@@ -901,11 +935,10 @@ i2c1: i2c@8005a000 { ...@@ -901,11 +935,10 @@ i2c1: i2c@8005a000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "fsl,imx28-i2c"; compatible = "fsl,imx28-i2c";
reg = <0x8005a000 0x2000>; reg = <0x8005a000 0x2000>;
interrupts = <110 69>; interrupts = <110>;
clock-frequency = <100000>; clock-frequency = <100000>;
dmas = <&dma_apbx 7>; dmas = <&dma_apbx 7>;
dma-names = "rx-tx"; dma-names = "rx-tx";
fsl,i2c-dma-channel = <7>;
status = "disabled"; status = "disabled";
}; };
...@@ -918,7 +951,7 @@ pwm: pwm@80064000 { ...@@ -918,7 +951,7 @@ pwm: pwm@80064000 {
status = "disabled"; status = "disabled";
}; };
timrot@80068000 { timer: timrot@80068000 {
compatible = "fsl,imx28-timrot", "fsl,timrot"; compatible = "fsl,imx28-timrot", "fsl,timrot";
reg = <0x80068000 0x2000>; reg = <0x80068000 0x2000>;
interrupts = <48 49 50 51>; interrupts = <48 49 50 51>;
...@@ -928,10 +961,9 @@ timrot@80068000 { ...@@ -928,10 +961,9 @@ timrot@80068000 {
auart0: serial@8006a000 { auart0: serial@8006a000 {
compatible = "fsl,imx28-auart", "fsl,imx23-auart"; compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006a000 0x2000>; reg = <0x8006a000 0x2000>;
interrupts = <112 70 71>; interrupts = <112>;
dmas = <&dma_apbx 8>, <&dma_apbx 9>; dmas = <&dma_apbx 8>, <&dma_apbx 9>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
fsl,auart-dma-channel = <8 9>;
clocks = <&clks 45>; clocks = <&clks 45>;
status = "disabled"; status = "disabled";
}; };
...@@ -939,7 +971,7 @@ auart0: serial@8006a000 { ...@@ -939,7 +971,7 @@ auart0: serial@8006a000 {
auart1: serial@8006c000 { auart1: serial@8006c000 {
compatible = "fsl,imx28-auart", "fsl,imx23-auart"; compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006c000 0x2000>; reg = <0x8006c000 0x2000>;
interrupts = <113 72 73>; interrupts = <113>;
dmas = <&dma_apbx 10>, <&dma_apbx 11>; dmas = <&dma_apbx 10>, <&dma_apbx 11>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
clocks = <&clks 45>; clocks = <&clks 45>;
...@@ -949,7 +981,7 @@ auart1: serial@8006c000 { ...@@ -949,7 +981,7 @@ auart1: serial@8006c000 {
auart2: serial@8006e000 { auart2: serial@8006e000 {
compatible = "fsl,imx28-auart", "fsl,imx23-auart"; compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006e000 0x2000>; reg = <0x8006e000 0x2000>;
interrupts = <114 74 75>; interrupts = <114>;
dmas = <&dma_apbx 12>, <&dma_apbx 13>; dmas = <&dma_apbx 12>, <&dma_apbx 13>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
clocks = <&clks 45>; clocks = <&clks 45>;
...@@ -959,7 +991,7 @@ auart2: serial@8006e000 { ...@@ -959,7 +991,7 @@ auart2: serial@8006e000 {
auart3: serial@80070000 { auart3: serial@80070000 {
compatible = "fsl,imx28-auart", "fsl,imx23-auart"; compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x80070000 0x2000>; reg = <0x80070000 0x2000>;
interrupts = <115 76 77>; interrupts = <115>;
dmas = <&dma_apbx 14>, <&dma_apbx 15>; dmas = <&dma_apbx 14>, <&dma_apbx 15>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
clocks = <&clks 45>; clocks = <&clks 45>;
...@@ -969,7 +1001,7 @@ auart3: serial@80070000 { ...@@ -969,7 +1001,7 @@ auart3: serial@80070000 {
auart4: serial@80072000 { auart4: serial@80072000 {
compatible = "fsl,imx28-auart", "fsl,imx23-auart"; compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x80072000 0x2000>; reg = <0x80072000 0x2000>;
interrupts = <116 78 79>; interrupts = <116>;
dmas = <&dma_apbx 0>, <&dma_apbx 1>; dmas = <&dma_apbx 0>, <&dma_apbx 1>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
clocks = <&clks 45>; clocks = <&clks 45>;
...@@ -1026,7 +1058,7 @@ usb1: usb@80090000 { ...@@ -1026,7 +1058,7 @@ usb1: usb@80090000 {
status = "disabled"; status = "disabled";
}; };
dflpt@800c0000 { dflpt: dflpt@800c0000 {
reg = <0x800c0000 0x10000>; reg = <0x800c0000 0x10000>;
status = "disabled"; status = "disabled";
}; };
...@@ -1049,10 +1081,9 @@ mac1: ethernet@800f4000 { ...@@ -1049,10 +1081,9 @@ mac1: ethernet@800f4000 {
status = "disabled"; status = "disabled";
}; };
switch@800f8000 { etn_switch: switch@800f8000 {
reg = <0x800f8000 0x8000>; reg = <0x800f8000 0x8000>;
status = "disabled"; status = "disabled";
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment