Commit 40ecc02e authored by Dmitry Lifshitz's avatar Dmitry Lifshitz Committed by Tony Lindgren
Browse files

ARM: dts: sbc-t3530: add support for sbc-t3530



Add support for CM-T3530 CoM and SBC-T3530 board.

Signed-off-by: default avatarDmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent dcb27bee
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -198,6 +198,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
	omap2420-n810-wimax.dtb \
	omap3430-sdp.dtb \
	omap3-beagle.dtb \
	omap3-cm-t3530.dtb \
	omap3-sbc-t3530.dtb \
	omap3-cm-t3730.dtb \
	omap3-sbc-t3730.dtb \
	omap3-devkit8000.dtb \
+12 −0
Original line number Diff line number Diff line
/*
 * Support for CompuLab CM-T3530
 */
/dts-v1/;

#include "omap34xx.dtsi"
#include "omap3-cm-t3x30.dtsi"

/ {
	model = "CompuLab CM-T3530";
	compatible = "compulab,omap3-cm-t3530", "ti,omap34xx", "ti,omap3";
};
+36 −0
Original line number Diff line number Diff line
/*
 * Suppport for CompuLab SBC-T3530 with CM-T3530
 */

#include "omap3-cm-t3530.dts"
#include "omap3-sb-t35.dtsi"

/ {
	model = "CompuLab SBC-T3530 with CM-T3530";
	compatible = "compulab,omap3-sbc-t3530", "compulab,omap3-cm-t3530", "ti,omap34xx", "ti,omap3";
};

&omap3_pmx_core {
	pinctrl-names = "default";
	pinctrl-0 = <&sb_t35_usb_hub_pins>;

	sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
		pinctrl-single,pins = <
			OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */
		>;
	};
};

/*
 * The following ranges correspond to SMSC9x eth chips on CM-T3530 CoM and
 * SB-T35 baseboard respectively.
 * This setting includes both chips in SBC-T3530 board device tree.
 */
&gpmc {
	ranges = <5 0 0x2c000000 0x01000000>,
		 <4 0 0x2d000000 0x01000000>;
};

&mmc1 {
	cd-gpios =  <&twl_gpio 0 GPIO_ACTIVE_HIGH>;
};
+6 −0
Original line number Diff line number Diff line
@@ -119,6 +119,11 @@ static void __init omap3_sbc_t3730_legacy_init(void)
	omap_ads7846_init(1, 57, 0, NULL);
}

static void __init omap3_sbc_t3530_legacy_init(void)
{
	omap_ads7846_init(1, 57, 0, NULL);
}

static void __init omap3_igep0020_legacy_init(void)
{
	omap3_igep2_display_init_of();
@@ -258,6 +263,7 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
 */
static struct pdata_init pdata_quirks[] __initdata = {
#ifdef CONFIG_ARCH_OMAP3
	{ "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, },
	{ "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, },
	{ "nokia,omap3-n900", hsmmc2_internal_input_clk, },
	{ "nokia,omap3-n9", hsmmc2_internal_input_clk, },