* [PATCH 0/4] Add devicetree for MBa53 (was: Add devicetree for TQMA53 embedded module)
@ 2013-01-09 13:44 Steffen Trumtrar
2013-01-09 13:44 ` [PATCH 1/4] ARM i.MX53: Add UART2 for low-level debugging Steffen Trumtrar
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Steffen Trumtrar @ 2013-01-09 13:44 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
I reworked my previous series, that was just for the SoC module, and added the
MBa53 base board for the TQMA53.
I threw out the usb support, as it does not work with current mainline.
Changes from previous series:
- remove usb entries
- add patch to select the debug uart on MBa53
- add base board MBa53
- add Makefile entry for imx53-MBa53.dtb
- reformat DT
Regards,
Steffen
Philipp Zabel (1):
ARM i.MX53: Add UART2 for low-level debugging
Sascha Hauer (1):
ARM i.MX53: add dts for the TQ tqma53 module
Steffen Trumtrar (2):
ARM: dts: imx53: pinctrl update
ARM i.MX53: dts: add oftree for MBa53 baseboard
arch/arm/Kconfig.debug | 10 ++
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx53-MBa53.dts | 146 +++++++++++++++++++++++++++++
arch/arm/boot/dts/imx53-tqma53.dtsi | 176 +++++++++++++++++++++++++++++++++++
arch/arm/boot/dts/imx53.dtsi | 53 +++++++++++
arch/arm/include/debug/imx.S | 7 +-
6 files changed, 392 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/imx53-MBa53.dts
create mode 100644 arch/arm/boot/dts/imx53-tqma53.dtsi
--
1.7.10.4
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/4] ARM i.MX53: Add UART2 for low-level debugging
2013-01-09 13:44 [PATCH 0/4] Add devicetree for MBa53 (was: Add devicetree for TQMA53 embedded module) Steffen Trumtrar
@ 2013-01-09 13:44 ` Steffen Trumtrar
2013-01-10 1:58 ` Shawn Guo
2013-01-09 13:44 ` [PATCH 2/4] ARM: dts: imx53: pinctrl update Steffen Trumtrar
` (2 subsequent siblings)
3 siblings, 1 reply; 11+ messages in thread
From: Steffen Trumtrar @ 2013-01-09 13:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Philipp Zabel <p.zabel@pengutronix.de>
This is needed for boards like the Garz & Fricke Vincell and
Vincell LT, that have the serial debugging console on UART2.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
arch/arm/Kconfig.debug | 10 ++++++++++
arch/arm/include/debug/imx.S | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 661030d..8e84a24 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -450,6 +450,16 @@ choice
endchoice
+config DEBUG_IMX50_IMX53_UART_PORT
+ int "i.MX50 and i.MX53 Debug UART Port (1-2)" if DEBUG_IMX50_IMX53_UART
+ range 1 2
+ default 1
+ depends on SOC_IMX50 || SOC_IMX53
+ help
+ Choose UART port on which kernel low-level debug messages
+ should be output. The default choice (UART1) is correct for
+ e.g. the Freescale i.MX53 Quick Start Board.
+
config DEBUG_IMX6Q_UART_PORT
int "i.MX6Q Debug UART Port (1-5)" if DEBUG_IMX6Q_UART
range 1 5
diff --git a/arch/arm/include/debug/imx.S b/arch/arm/include/debug/imx.S
index 0c4e17d..4069ea0 100644
--- a/arch/arm/include/debug/imx.S
+++ b/arch/arm/include/debug/imx.S
@@ -10,12 +10,17 @@
* published by the Free Software Foundation.
*
*/
+#define IMX50_IMX53_UART1_BASE_ADDR 0x53fbc000
+#define IMX50_IMX53_UART2_BASE_ADDR 0x53fc0000
#define IMX6Q_UART1_BASE_ADDR 0x02020000
#define IMX6Q_UART2_BASE_ADDR 0x021e8000
#define IMX6Q_UART3_BASE_ADDR 0x021ec000
#define IMX6Q_UART4_BASE_ADDR 0x021f0000
#define IMX6Q_UART5_BASE_ADDR 0x021f4000
+#define IMX50_IMX53_UART_BASE_ADDR(n) IMX50_IMX53_UART##n##_BASE_ADDR
+#define IMX50_IMX53_UART_BASE(n) IMX50_IMX53_UART_BASE_ADDR(n)
+#define IMX50_IMX53_DEBUG_UART_BASE IMX50_IMX53_UART_BASE(CONFIG_DEBUG_IMX50_IMX53_UART_PORT)
/*
* IMX6Q_UART_BASE_ADDR is put in the middle to force the expansion
* of IMX6Q_UART##n##_BASE_ADDR.
@@ -35,7 +40,7 @@
#elif defined (CONFIG_DEBUG_IMX51_UART)
#define UART_PADDR 0x73fbc000
#elif defined (CONFIG_DEBUG_IMX50_IMX53_UART)
-#define UART_PADDR 0x53fbc000
+#define UART_PADDR IMX50_IMX53_DEBUG_UART_BASE
#elif defined (CONFIG_DEBUG_IMX6Q_UART)
#define UART_PADDR IMX6Q_DEBUG_UART_BASE
#endif
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/4] ARM: dts: imx53: pinctrl update
2013-01-09 13:44 [PATCH 0/4] Add devicetree for MBa53 (was: Add devicetree for TQMA53 embedded module) Steffen Trumtrar
2013-01-09 13:44 ` [PATCH 1/4] ARM i.MX53: Add UART2 for low-level debugging Steffen Trumtrar
@ 2013-01-09 13:44 ` Steffen Trumtrar
2013-01-10 2:01 ` Shawn Guo
2013-01-09 13:44 ` [PATCH 3/4] ARM i.MX53: add dts for the TQ tqma53 module Steffen Trumtrar
2013-01-09 13:44 ` [PATCH 4/4] ARM i.MX53: dts: add oftree for MBa53 baseboard Steffen Trumtrar
3 siblings, 1 reply; 11+ messages in thread
From: Steffen Trumtrar @ 2013-01-09 13:44 UTC (permalink / raw)
To: linux-arm-kernel
Add pinctrl for cspi, csi.
Add new pingroups for can1 and uart3.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/boot/dts/imx53.dtsi | 53 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index 552aed4..160c24a 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -274,6 +274,44 @@
};
};
+ csi {
+ pinctrl_csi_1: csigrp-1 {
+ fsl,pins = <
+ 286 0x1d5 /* MX53_PAD_CSI0_DATA_EN__IPU_CSI0_DATA_EN */
+ 291 0x1d5 /* MX53_PAD_CSI0_VSYNC__IPU_CSI0_VSYNC */
+ 280 0x1d5 /* MX53_PAD_CSI0_MCLK__IPU_CSI0_HSYNC */
+ 276 0x1d5 /* MX53_PAD_CSI0_PIXCLK__IPU_CSI0_PIXCLK */
+ 409 0x1d5 /* MX53_PAD_CSI0_DAT19__IPU_CSI0_D_19 */
+ 402 0x1d5 /* MX53_PAD_CSI0_DAT18__IPU_CSI0_D_18 */
+ 395 0x1d5 /* MX53_PAD_CSI0_DAT17__IPU_CSI0_D_17 */
+ 388 0x1d5 /* MX53_PAD_CSI0_DAT16__IPU_CSI0_D_16 */
+ 381 0x1d5 /* MX53_PAD_CSI0_DAT15__IPU_CSI0_D_15 */
+ 374 0x1d5 /* MX53_PAD_CSI0_DAT14__IPU_CSI0_D_14 */
+ 367 0x1d5 /* MX53_PAD_CSI0_DAT13__IPU_CSI0_D_13 */
+ 360 0x1d5 /* MX53_PAD_CSI0_DAT12__IPU_CSI0_D_12 */
+ 352 0x1d5 /* MX53_PAD_CSI0_DAT11__IPU_CSI0_D_11 */
+ 344 0x1d5 /* MX53_PAD_CSI0_DAT10__IPU_CSI0_D_10 */
+ 336 0x1d5 /* MX53_PAD_CSI0_DAT9__IPU_CSI0_D_9 */
+ 328 0x1d5 /* MX53_PAD_CSI0_DAT8__IPU_CSI0_D_8 */
+ 320 0x1d5 /* MX53_PAD_CSI0_DAT7__IPU_CSI0_D_7 */
+ 312 0x1d5 /* MX53_PAD_CSI0_DAT6__IPU_CSI0_D_6 */
+ 304 0x1d5 /* MX53_PAD_CSI0_DAT5__IPU_CSI0_D_5 */
+ 296 0x1d5 /* MX53_PAD_CSI0_DAT4__IPU_CSI0_D_4 */
+ 276 0x1d5 /* MX53_PAD_CSI0_PIXCLK__IPU_CSI0_PIXCLK */
+ >;
+ };
+ };
+
+ cspi {
+ pinctrl_cspi_1: cspigrp-1 {
+ fsl,pins = <
+ 998 0x1d5 /* MX53_PAD_SD1_DATA0__CSPI_MISO */
+ 1008 0x1d5 /* MX53_PAD_SD1_CMD__CSPI_MOSI */
+ 1022 0x1d5 /* MX53_PAD_SD1_CLK__CSPI_SCLK */
+ >;
+ };
+ };
+
ecspi1 {
pinctrl_ecspi1_1: ecspi1grp-1 {
fsl,pins = <
@@ -349,6 +387,13 @@
853 0x80000000 /* MX53_PAD_PATA_DIOR__CAN1_RXCAN */
>;
};
+
+ pinctrl_can1_2: can1grp-2 {
+ fsl,pins = <
+ 37 0x80000000 /* MX53_PAD_KEY_COL2__CAN1_TXCAN */
+ 44 0x80000000 /* MX53_PAD_KEY_ROW2__CAN1_RXCAN */
+ >;
+ };
};
can2 {
@@ -421,6 +466,14 @@
880 0x1c5 /* MX53_PAD_PATA_DA_2__UART3_RTS */
>;
};
+
+ pinctrl_uart3_2: uart3grp-2 {
+ fsl,pins = <
+ 884 0x1c5 /* MX53_PAD_PATA_CS_0__UART3_TXD_MUX */
+ 888 0x1c5 /* MX53_PAD_PATA_CS_1__UART3_RXD_MUX */
+ >;
+ };
+
};
uart4 {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/4] ARM i.MX53: add dts for the TQ tqma53 module
2013-01-09 13:44 [PATCH 0/4] Add devicetree for MBa53 (was: Add devicetree for TQMA53 embedded module) Steffen Trumtrar
2013-01-09 13:44 ` [PATCH 1/4] ARM i.MX53: Add UART2 for low-level debugging Steffen Trumtrar
2013-01-09 13:44 ` [PATCH 2/4] ARM: dts: imx53: pinctrl update Steffen Trumtrar
@ 2013-01-09 13:44 ` Steffen Trumtrar
2013-01-09 16:30 ` Fabio Estevam
2013-01-09 13:44 ` [PATCH 4/4] ARM i.MX53: dts: add oftree for MBa53 baseboard Steffen Trumtrar
3 siblings, 1 reply; 11+ messages in thread
From: Steffen Trumtrar @ 2013-01-09 13:44 UTC (permalink / raw)
To: linux-arm-kernel
From: Sascha Hauer <s.hauer@pengutronix.de>
The tqma53 is an embedded module that has some features on board (e.g. emmc),
but mostly just provides access to them on its interface.
Going along with the imx53.dtsi, the tqma53.dtsi specifies the existing
devices and their pinctrl for this module. All devices that are not on the
module are disabled by default and need to be enabled in a baseboard DT.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/boot/dts/imx53-tqma53.dtsi | 176 +++++++++++++++++++++++++++++++++++
1 file changed, 176 insertions(+)
create mode 100644 arch/arm/boot/dts/imx53-tqma53.dtsi
diff --git a/arch/arm/boot/dts/imx53-tqma53.dtsi b/arch/arm/boot/dts/imx53-tqma53.dtsi
new file mode 100644
index 0000000..012a52f
--- /dev/null
+++ b/arch/arm/boot/dts/imx53-tqma53.dtsi
@@ -0,0 +1,176 @@
+/*
+ * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix
+ *
+ * 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
+ */
+
+/include/ "imx53.dtsi"
+
+/ {
+ model = "TQ TQMa53";
+ compatible = "tq,tqma53", "fsl,imx53";
+
+ memory {
+ reg = <0x70000000 0x40000000>; /* Up to 1GiB */
+ };
+
+ regulators {
+ compatible = "simple-bus";
+
+ reg_3p3v: 3p3v {
+ compatible = "regulator-fixed";
+ regulator-name = "3P3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+ };
+};
+
+&esdhc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_esdhc2_1>;
+ wp-gpios = <&gpio1 2 0>;
+ cd-gpios = <&gpio1 4 0>;
+ status = "disabled";
+};
+
+&uart3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart3_2>;
+ status = "disabled";
+};
+
+&ecspi1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ecspi1_1>;
+ fsl,spi-num-chipselects = <4>;
+ cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>,
+ <&gpio3 24 0>, <&gpio3 25 0>;
+ status = "disabled";
+};
+
+&esdhc3 { /* EMMC */
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_esdhc3_1>;
+ vmmc-supply = <®_3p3v>;
+ non-removable;
+ bus-width = <8>;
+ status = "okay";
+};
+
+&wdog1 {
+ status = "okay";
+};
+
+&iomuxc {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hog>;
+
+ i2s {
+ pinctrl_i2s_1: i2s-grp1 {
+ fsl,pins = <
+ 1 0x10000 /* I2S_MCLK */
+ 10 0x10000 /* I2S_SCLK */
+ 17 0x10000 /* I2S_DOUT */
+ 23 0x10000 /* I2S_LRCLK*/
+ 30 0x10000 /* I2S_DIN */
+ >;
+ };
+ };
+
+ hog {
+ pinctrl_hog: hoggrp {
+ fsl,pins = <
+ 610 0x10000 /* MX53_PAD_EIM_CS1__IPU_DI1_PIN6 (VSYNC)*/
+ 711 0x10000 /* MX53_PAD_EIM_DA15__IPU_DI1_PIN4 (HSYNC)*/
+ 873 0x10000 /* MX53_PAD_PATA_DA_1__GPIO7_7 (LCD_BLT_EN)*/
+ 878 0x10000 /* MX53_PAD_PATA_DA_2__GPIO7_8 (LCD_RESET)*/
+ 922 0x10000 /* MX53_PAD_PATA_DATA5__GPIO2_5 (LCD_POWER)*/
+ 928 0x10000 /* MX53_PAD_PATA_DATA6__GPIO2_6 (PMIC_INT)*/
+ 982 0x10000 /* MX53_PAD_PATA_DATA14__GPIO2_14 (CSI_RST)*/
+ 989 0x10000 /* MX53_PAD_PATA_DATA15__GPIO2_15 (CSI_PWDN)*/
+ 1069 0x10000 /* MX53_PAD_GPIO_0__GPIO1_0 (SYSTEM_DOWN)*/
+ 1093 0x10000 /* MX53_PAD_GPIO_3__GPIO1_3 */
+ >;
+ };
+ };
+};
+
+&uart1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart1_2>;
+ fsl,uart-has-rtscts;
+ status = "disabled";
+};
+
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart2_1>;
+ status = "disabled";
+};
+
+&can1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_can1_2>;
+ status = "disabled";
+};
+
+&can2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_can2_1>;
+ status = "disabled";
+};
+
+&i2c3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c3_1>;
+ status = "disabled";
+};
+
+&cspi {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_cspi_1>;
+ fsl,spi-num-chipselects = <3>;
+ cs-gpios = <&gpio1 18 0>, <&gpio1 19 0>,
+ <&gpio1 21 0>;
+ status = "disabled";
+};
+
+&i2c2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c2_1>;
+ status = "okay";
+
+ pmic: mc34708 at 8 {
+ compatible = "fsl,mc34708";
+ reg = <0x8>;
+ fsl,mc13xxx-uses-rtc;
+ interrupt-parent = <&gpio2>;
+ interrupts = <6 8>; /* PDATA_DATA6, low active */
+ };
+
+ sensor1: lm75 at 48 {
+ compatible = "lm75";
+ reg = <0x48>;
+ };
+
+ eeprom: 24c64 at 50 {
+ compatible = "at,24c64";
+ pagesize = <32>;
+ reg = <0x50>;
+ };
+};
+
+&fec {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_fec_1>;
+ phy-mode = "rmii";
+ status = "disabled";
+};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/4] ARM i.MX53: dts: add oftree for MBa53 baseboard
2013-01-09 13:44 [PATCH 0/4] Add devicetree for MBa53 (was: Add devicetree for TQMA53 embedded module) Steffen Trumtrar
` (2 preceding siblings ...)
2013-01-09 13:44 ` [PATCH 3/4] ARM i.MX53: add dts for the TQ tqma53 module Steffen Trumtrar
@ 2013-01-09 13:44 ` Steffen Trumtrar
2013-01-10 2:45 ` Shawn Guo
3 siblings, 1 reply; 11+ messages in thread
From: Steffen Trumtrar @ 2013-01-09 13:44 UTC (permalink / raw)
To: linux-arm-kernel
The MBa53 is a baseboard for the TQMA53 embedded module. This enables/adds only
supported devices, i.e. it is not feature complete, because of missing drivers
in mainline linux.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx53-MBa53.dts | 146 +++++++++++++++++++++++++++++++++++++
2 files changed, 147 insertions(+)
create mode 100644 arch/arm/boot/dts/imx53-MBa53.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index e44da40..04b05e8 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
imx53-evk.dtb \
imx53-qsb.dtb \
imx53-smd.dtb \
+ imx53-MBa53.dtb \
imx6q-arm2.dtb \
imx6q-sabreauto.dtb \
imx6q-sabrelite.dtb \
diff --git a/arch/arm/boot/dts/imx53-MBa53.dts b/arch/arm/boot/dts/imx53-MBa53.dts
new file mode 100644
index 0000000..39ecaeb
--- /dev/null
+++ b/arch/arm/boot/dts/imx53-MBa53.dts
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
+ *
+ * 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
+ */
+
+/dts-v1/;
+/include/ "imx53-tqma53.dtsi"
+
+/ {
+ model = "TQ MBa53 starter kit";
+ compatible = "tq,mba53", "tq,tqma53", "fsl,imx53";
+
+ backlight_reg:fixed at 0 {
+ compatible = "regulator-fixed";
+ regulator-name = "lcd-supply";
+ gpio = <&gpio2 5 0>;
+ startup-delay-us = <5000>;
+ enable-active-low;
+ };
+
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm2 0 50000 0 0>;
+ brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>;
+ default-brightness-level = <10>;
+ enable-gpios = <&gpio7 7 0>;
+ power-supply = <&backlight_reg>;
+ };
+};
+
+&iomuxc {
+ lvds1 {
+ pinctrl_lvds1_1: lvds1-grp1 {
+ fsl,pins = <730 0x10000 /* LVDS0_TX3 */
+ 732 0x10000 /* LVDS0_CLK */
+ 734 0x10000 /* LVDS0_TX2 */
+ 736 0x10000 /* LVDS0_TX1 */
+ 738 0x10000>; /* LVDS0_TX0 */
+ };
+
+ pinctrl_lvds1_2: lvds1-grp2 {
+ fsl,pins = <720 0x10000 /* LVDS1_TX3 */
+ 722 0x10000 /* LVDS1_TX2 */
+ 724 0x10000 /* LVDS1_CLK */
+ 726 0x10000 /* LVDS1_TX1 */
+ 728 0x10000>; /* LVDS1_TX0 */
+ };
+ };
+
+ disp1 {
+ pinctrl_disp1_1: disp1-grp1 {
+ fsl,pins = <689 0x10000 /* DISP1_DRDY */
+ 482 0x10000 /* DISP1_HSYNC */
+ 489 0x10000 /* DISP1_VSYNC */
+ 684 0x10000 /* DISP1_DAT_0 */
+ 515 0x10000 /* DISP1_DAT_22 */
+ 523 0x10000 /* DISP1_DAT_23 */
+ 543 0x10000 /* DISP1_DAT_21 */
+ 553 0x10000 /* DISP1_DAT_20 */
+ 558 0x10000 /* DISP1_DAT_19 */
+ 564 0x10000 /* DISP1_DAT_18 */
+ 570 0x10000 /* DISP1_DAT_17 */
+ 575 0x10000 /* DISP1_DAT_16 */
+ 580 0x10000 /* DISP1_DAT_15 */
+ 585 0x10000 /* DISP1_DAT_14 */
+ 590 0x10000 /* DISP1_DAT_13 */
+ 595 0x10000 /* DISP1_DAT_12 */
+ 628 0x10000 /* DISP1_DAT_11 */
+ 634 0x10000 /* DISP1_DAT_10 */
+ 639 0x10000 /* DISP1_DAT_9 */
+ 644 0x10000 /* DISP1_DAT_8 */
+ 649 0x10000 /* DISP1_DAT_7 */
+ 654 0x10000 /* DISP1_DAT_6 */
+ 659 0x10000 /* DISP1_DAT_5 */
+ 664 0x10000 /* DISP1_DAT_4 */
+ 669 0x10000 /* DISP1_DAT_3 */
+ 674 0x10000 /* DISP1_DAT_2 */
+ 679 0x10000 /* DISP1_DAT_1 */
+ 684 0x10000>; /* DISP1_DAT_0 */
+ };
+ };
+};
+
+&cspi {
+ status = "okay";
+};
+
+&i2c2 {
+ codec: sgtl5000 at a {
+ compatible = "fsl,sgtl5000";
+ reg = <0x0a>;
+ };
+
+ expander: pca9554 at 20 {
+ compatible = "pca9554";
+ reg = <0x20>;
+ interrupts = <109>;
+ };
+
+ sensor2: lm75 at 49 {
+ compatible = "lm75";
+ reg = <0x49>;
+ };
+};
+
+&fec {
+ status = "okay";
+};
+
+&esdhc2 {
+ status = "okay";
+};
+
+&uart3 {
+ status = "okay";
+};
+
+&ecspi1 {
+ status = "okay";
+};
+
+&uart1 {
+ status = "okay";
+};
+
+&uart2 {
+ status = "okay";
+};
+
+&can1 {
+ status = "okay";
+};
+
+&can2 {
+ status = "okay";
+};
+
+&i2c3 {
+ status = "okay";
+};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/4] ARM i.MX53: add dts for the TQ tqma53 module
2013-01-09 13:44 ` [PATCH 3/4] ARM i.MX53: add dts for the TQ tqma53 module Steffen Trumtrar
@ 2013-01-09 16:30 ` Fabio Estevam
2013-01-10 2:09 ` Shawn Guo
0 siblings, 1 reply; 11+ messages in thread
From: Fabio Estevam @ 2013-01-09 16:30 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 9, 2013 at 11:44 AM, Steffen Trumtrar
<s.trumtrar@pengutronix.de> wrote:
> +
> +&wdog1 {
> + status = "okay";
> +};
This can be removed, since imx53.dtsi already enables the watchdog.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/4] ARM i.MX53: Add UART2 for low-level debugging
2013-01-09 13:44 ` [PATCH 1/4] ARM i.MX53: Add UART2 for low-level debugging Steffen Trumtrar
@ 2013-01-10 1:58 ` Shawn Guo
0 siblings, 0 replies; 11+ messages in thread
From: Shawn Guo @ 2013-01-10 1:58 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 09, 2013 at 02:44:22PM +0100, Steffen Trumtrar wrote:
> From: Philipp Zabel <p.zabel@pengutronix.de>
>
> This is needed for boards like the Garz & Fricke Vincell and
> Vincell LT, that have the serial debugging console on UART2.
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
I have a patch [1] to solve it for all imx and all uart ports.
Shawn
[1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/205000/focus=205002
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 2/4] ARM: dts: imx53: pinctrl update
2013-01-09 13:44 ` [PATCH 2/4] ARM: dts: imx53: pinctrl update Steffen Trumtrar
@ 2013-01-10 2:01 ` Shawn Guo
0 siblings, 0 replies; 11+ messages in thread
From: Shawn Guo @ 2013-01-10 2:01 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 09, 2013 at 02:44:23PM +0100, Steffen Trumtrar wrote:
> Add pinctrl for cspi, csi.
> Add new pingroups for can1 and uart3.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Applied, thanks.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 3/4] ARM i.MX53: add dts for the TQ tqma53 module
2013-01-09 16:30 ` Fabio Estevam
@ 2013-01-10 2:09 ` Shawn Guo
0 siblings, 0 replies; 11+ messages in thread
From: Shawn Guo @ 2013-01-10 2:09 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 09, 2013 at 02:30:34PM -0200, Fabio Estevam wrote:
> On Wed, Jan 9, 2013 at 11:44 AM, Steffen Trumtrar
> <s.trumtrar@pengutronix.de> wrote:
>
> > +
> > +&wdog1 {
> > + status = "okay";
> > +};
>
> This can be removed, since imx53.dtsi already enables the watchdog.
I fixed it up and applied the patch.
Shawn
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 4/4] ARM i.MX53: dts: add oftree for MBa53 baseboard
2013-01-09 13:44 ` [PATCH 4/4] ARM i.MX53: dts: add oftree for MBa53 baseboard Steffen Trumtrar
@ 2013-01-10 2:45 ` Shawn Guo
2013-01-10 7:21 ` Steffen Trumtrar
0 siblings, 1 reply; 11+ messages in thread
From: Shawn Guo @ 2013-01-10 2:45 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 09, 2013 at 02:44:25PM +0100, Steffen Trumtrar wrote:
> The MBa53 is a baseboard for the TQMA53 embedded module. This enables/adds only
> supported devices, i.e. it is not feature complete, because of missing drivers
> in mainline linux.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
> arch/arm/boot/dts/Makefile | 1 +
> arch/arm/boot/dts/imx53-MBa53.dts | 146 +++++++++++++++++++++++++++++++++++++
> 2 files changed, 147 insertions(+)
> create mode 100644 arch/arm/boot/dts/imx53-MBa53.dts
>
I do not like the CamelCase in filename, and do not want to be the first
one doing that in arch/arm/boot/dts.
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index e44da40..04b05e8 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
> imx53-evk.dtb \
> imx53-qsb.dtb \
> imx53-smd.dtb \
> + imx53-MBa53.dtb \
Change it to lower case and sort it properly.
> imx6q-arm2.dtb \
> imx6q-sabreauto.dtb \
> imx6q-sabrelite.dtb \
> diff --git a/arch/arm/boot/dts/imx53-MBa53.dts b/arch/arm/boot/dts/imx53-MBa53.dts
> new file mode 100644
> index 0000000..39ecaeb
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx53-MBa53.dts
> @@ -0,0 +1,146 @@
> +/*
> + * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
> + *
> + * 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
> + */
> +
> +/dts-v1/;
> +/include/ "imx53-tqma53.dtsi"
> +
> +/ {
> + model = "TQ MBa53 starter kit";
> + compatible = "tq,mba53", "tq,tqma53", "fsl,imx53";
> +
> + backlight_reg:fixed at 0 {
The node name is not good. Also we generally have a space between
label and node names.
> + compatible = "regulator-fixed";
> + regulator-name = "lcd-supply";
> + gpio = <&gpio2 5 0>;
> + startup-delay-us = <5000>;
> + enable-active-low;
> + };
Use tab instead of space.
> +
> + backlight {
> + compatible = "pwm-backlight";
> + pwms = <&pwm2 0 50000 0 0>;
> + brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>;
> + default-brightness-level = <10>;
> + enable-gpios = <&gpio7 7 0>;
> + power-supply = <&backlight_reg>;
> + };
Ditto
Shawn
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 4/4] ARM i.MX53: dts: add oftree for MBa53 baseboard
2013-01-10 2:45 ` Shawn Guo
@ 2013-01-10 7:21 ` Steffen Trumtrar
0 siblings, 0 replies; 11+ messages in thread
From: Steffen Trumtrar @ 2013-01-10 7:21 UTC (permalink / raw)
To: linux-arm-kernel
Hi!
On Thu, Jan 10, 2013 at 10:45:45AM +0800, Shawn Guo wrote:
> On Wed, Jan 09, 2013 at 02:44:25PM +0100, Steffen Trumtrar wrote:
> > The MBa53 is a baseboard for the TQMA53 embedded module. This enables/adds only
> > supported devices, i.e. it is not feature complete, because of missing drivers
> > in mainline linux.
> >
> > Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> > ---
> > arch/arm/boot/dts/Makefile | 1 +
> > arch/arm/boot/dts/imx53-MBa53.dts | 146 +++++++++++++++++++++++++++++++++++++
> > 2 files changed, 147 insertions(+)
> > create mode 100644 arch/arm/boot/dts/imx53-MBa53.dts
> >
> I do not like the CamelCase in filename, and do not want to be the first
> one doing that in arch/arm/boot/dts.
>
Okay, no problem. I will change that.
> > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> > index e44da40..04b05e8 100644
> > --- a/arch/arm/boot/dts/Makefile
> > +++ b/arch/arm/boot/dts/Makefile
> > @@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
> > imx53-evk.dtb \
> > imx53-qsb.dtb \
> > imx53-smd.dtb \
> > + imx53-MBa53.dtb \
>
> Change it to lower case and sort it properly.
>
Ditto.
> > imx6q-arm2.dtb \
> > imx6q-sabreauto.dtb \
> > imx6q-sabrelite.dtb \
> > diff --git a/arch/arm/boot/dts/imx53-MBa53.dts b/arch/arm/boot/dts/imx53-MBa53.dts
> > new file mode 100644
> > index 0000000..39ecaeb
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/imx53-MBa53.dts
> > @@ -0,0 +1,146 @@
> > +/*
> > + * Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
> > + *
> > + * 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
> > + */
> > +
> > +/dts-v1/;
> > +/include/ "imx53-tqma53.dtsi"
> > +
> > +/ {
> > + model = "TQ MBa53 starter kit";
> > + compatible = "tq,mba53", "tq,tqma53", "fsl,imx53";
> > +
> > + backlight_reg:fixed at 0 {
>
> The node name is not good. Also we generally have a space between
> label and node names.
>
> > + compatible = "regulator-fixed";
> > + regulator-name = "lcd-supply";
> > + gpio = <&gpio2 5 0>;
> > + startup-delay-us = <5000>;
> > + enable-active-low;
> > + };
>
> Use tab instead of space.
>
> > +
> > + backlight {
> > + compatible = "pwm-backlight";
> > + pwms = <&pwm2 0 50000 0 0>;
> > + brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>;
> > + default-brightness-level = <10>;
> > + enable-gpios = <&gpio7 7 0>;
> > + power-supply = <&backlight_reg>;
> > + };
>
> Ditto
>
Hm, I wonder why my highlighting didn't show that. I will fix that and
will resend this patch.
Thanks,
Steffen
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-01-10 7:21 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 13:44 [PATCH 0/4] Add devicetree for MBa53 (was: Add devicetree for TQMA53 embedded module) Steffen Trumtrar
2013-01-09 13:44 ` [PATCH 1/4] ARM i.MX53: Add UART2 for low-level debugging Steffen Trumtrar
2013-01-10 1:58 ` Shawn Guo
2013-01-09 13:44 ` [PATCH 2/4] ARM: dts: imx53: pinctrl update Steffen Trumtrar
2013-01-10 2:01 ` Shawn Guo
2013-01-09 13:44 ` [PATCH 3/4] ARM i.MX53: add dts for the TQ tqma53 module Steffen Trumtrar
2013-01-09 16:30 ` Fabio Estevam
2013-01-10 2:09 ` Shawn Guo
2013-01-09 13:44 ` [PATCH 4/4] ARM i.MX53: dts: add oftree for MBa53 baseboard Steffen Trumtrar
2013-01-10 2:45 ` Shawn Guo
2013-01-10 7:21 ` Steffen Trumtrar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).