diff options
Diffstat (limited to 'arch/arm/boot/dts/omap3-minnow.dts')
| -rw-r--r-- | arch/arm/boot/dts/omap3-minnow.dts | 225 | 
1 files changed, 225 insertions, 0 deletions
| diff --git a/arch/arm/boot/dts/omap3-minnow.dts b/arch/arm/boot/dts/omap3-minnow.dts new file mode 100644 index 00000000000..e88a2749286 --- /dev/null +++ b/arch/arm/boot/dts/omap3-minnow.dts @@ -0,0 +1,225 @@ +/* + * Copyright (C) 2013 Motorola Mobility LLC + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +/dts-v1/; + +/include/ "omap36xx.dtsi" + +/ { +	model = "Motorola OMAP3 Platform"; +	compatible = "mot,omap3-minnow", "ti,omap3"; + +	Display@0 { +		compatible = "mot,minnow-panel-dsi-cm"; +		/* 0: MINNOW_PANEL_CM_220X176 +		 * 1: MINNOW_PANEL_CM_220X220 +		 */ +		id_panel = <1>; +		gpio_reset = <&gpio1 14 0>;	/* RESET gpio-14 */ +		/* declare it if ext_te enable */ +		//gpio_te = <&gpio1 0 0>;	/* EXT_TE gpio-0 */ +		pins = <0 1 2 3>;		/* DSI Pin config */ +		esd_interval = <0>;		/* ESD_INTERVAL */ +		pixel_clock = <4608>;		/* kHZ = 320*240*60/1000*/ +		/* 0: RGB888 +		 * 1: RGB666 +		 * 2: RGB666_PACKED +		 * 3: RGB565 +		 */ +		pixel_format = <1>; +		hs_clk = <100000000 150000000>;	/* min max*/ +		lp_clk = <7000000 9000000>; 	/* min max*/ +	}; + +	/* FIXME: this dummy regulator is only needed as +	   a reference, but is enough to let devices +	   reference something.  The regulator_get will +	   fall back to a dummy regulator internally. +	*/ +	regulators { +		compatible = "simple-bus"; + +		dummy: regulator-dummy { +			compatible = "regulator-fixed"; +			regulator-name = "dummy"; +			regulator-always-on; +		}; + +		vmmc: gpio-regulator { +			compatible = "regulator-fixed"; + +			regulator-min-microvolt = <1800000>; +			regulator-max-microvolt = <1800000>; +			regulator-name = "vmmc"; +			gpio = <&gpio6 26 0>; +			startup-delay-us = <70000>; +			enable-active-high; +		}; + +	}; + +	m4sensor { +		compatible = "simple-bus"; +		wrist { +			compatible = "mot,m4wrist"; +			mot,wrist_xres = <&gpio6 15 0>; /* xres gpio-175 */ +			mot,wrist_clk =  <&gpio1 29 0>; /* clk  gpio-029 */ +			mot,wrist_data = <&gpio1 15 0>; /* data gpio-015 */ +		}; + +		pressure { +			compatible = "mot,m4pressure"; +		}; +		mpu9150 { +			compatible = "mot,m4mpu9150"; +		}; +		pedometer { +			compatible = "mot,m4pedometer"; +		}; +		passive { +			compatible = "mot,m4passive"; +		}; +		gesture { +			compatible = "mot,m4gesture"; +		}; +		display { +			compatible = "mot,m4display"; +		}; +		download { +			compatible = "mot,m4download"; +		}; +		stillmode { +			compatible = "mot,m4stillmode"; +		}; +	}; +}; + + + +&i2c1 { +	clock-frequency = <400000>; + +	atmxt@4a { +		compatible = "atmel,atmxt-ts"; +		reg = <0x4a>; +		interrupt-parent = <&intc>; +		gpios = <&gpio4 3 0>, /* IRQ   gpio-099 */ +			<&gpio6 4 0>; /* RESET gpio-164*/ +		atmel,atmxt-tdat-filename = "atmxt-r2.tdat"; +	}; +}; + +&i2c2 { +	m4sensorhub@18 { +		compatible = "mot,m4sensorhub"; +		reg = <0x18>; + +		mot,irq-gpio    = <&gpio2 27 1>; /* gpio-059 */ +		mot,reset-gpio  = <&gpio5  1 2>; /* gpio-129 */ +		mot,wake-gpio   = <&gpio4 30 0>; /* gpio-126 */ +		mot,boot0-gpio  = <&gpio1 21 0>; /* gpio-021 */ +		mot,boot1-gpio  = <&gpio1 24 0>; /* gpio-024 */ +		mot,enable-gpio = <&gpio1 28 0>; /* gpio-028 */ +	}; +}; + +&mcspi2 { +	m4sensorhubaudio { +		compatible = "mot,m4audio"; +		reg = <0>; /* CS 0 */ +		spi-max-frequency = <2000000>; +		spi-cpha = <0>; +		spi-cpol = <0>; +	}; +}; + +&i2c3 { + +	clock-frequency = <400000>; + +	lm3535@38 { +		compatible = "ti,lm3535"; +		reg = <0x38>; +	}; +}; + + +&omap3_pmx_core { +	pinctrl-names = "default"; +	pinctrl-0 = <&board_pins>; + +	board_pins: pinmux_board_pins { +		pinctrl-single,pins = < +			0x08e 0x104	/* GPMC_CLK, MODE4 | INPUT */ +			0x0a0 0x002	/* GPMC_WAIT2, MODE2 | OUTPUT */ +			0x0a2 0x102	/* GPMC_WAIT3, MODE2 | INPUT */ +			0x0c6 0x004	/* DSS_DATA13, MODE4 | OUTPUT */ +			0x0ea 0x004	/* MUXCAM_D2, MODE4 | OUTPUT */ +			0x0e4 0x004	/* CAM_FLD, MODE4 | OUTPUT */ +			0x0e6 0x11c	/* CAM_D0, MODE4 | INPUT_PULLUP */ +			0x122 0x004	/* SIM_CLK, MODE4 | OUTPUT */ +			0x124 0x104	/* SIM_PWRCTRL, MODE4 | INPUT */ +			0x144 0x000	/* UART2_TX, MODE0  | OUTPUT */ +			0x146 0x000	/* UART2_RTS, MODE0 | OUTPUT */ +			0x148 0x100	/* UART2_CTS, MODE0 | INPUT */ +			0x14a 0x100	/* UART2_RX, MODE0 | INPUT */ +			0x14c 0x000	/* UART1_TX, MODE0 | OUTPUT */ +			0x14e 0x000	/* UART1_RTS, MODE0 | OUTPUT */ +			0x150 0x100	/* UART1_CTS, MODE0 | INPUT */ +			0x152 0x100	/* UART1_RX, MODE0 | INPUT */ +			0x168 0x104	/* MCBSP1_CLKX, MODE4 | INPUT */ +			0x16c 0x004	/* UART3_RTS_SD, MODE4 | OUTPUT */ +			0x1a0 0x11b	/* MCSPI1_CS1, MODE3 | INPUT_PULLUP */ +			0x18e 0x118	/* I2C2_SCL, MODE0 | INPUT_PULLUP */ +			0x190 0x118	/* I2C2_SDA, MODE0 | INPUT_PULLUP */ +			0x1a6 0x100	/* MCSPI2_CLK, MODE0 | INPUT */ +			0x1a8 0x000	/* MCSPI2_SIMO, MODE0 | OUTPUT */ +			0x1aa 0x100	/* MCSPI2_SOMI, MODE0 | INPUT */ +			0x1ac 0x000	/* MCSPI2_CS0, MODE0 | OUTPUT */ +			0x1b0 0x104	/* SYS_NIRQ, MODE4 | INPUT  */ +			0x1b2 0x004	/* SYS_CLKOUT2, MODE4 | OUTPUT  */ +			0x5a8 0x11a	/* ETK_CLK, MODE2 | INPUT_PULLUP */ +			0x5aa 0x11a	/* ETK_CTL, MODE2 | INPUT_PULLUP */ +			0x5b2 0x11a	/* ETK_D3, MODE2 | INPUT_PULLUP */ +			0x5b4 0x11a	/* ETK_D4, MODE2 | INPUT_PULLUP */ +			0x5b6 0x11a	/* ETK_D5, MODE2 | INPUT_PULLUP */ +			0x5b8 0x11a	/* ETK_D6, MODE2 | INPUT_PULLUP */ +			0x5ba 0x004	/* ETK_D7, MODE4 | OUTPUT */ +			0x5c0 0x004	/* ETK_D10, MODE4 | OUTPUT */ +			0x5c8 0x004	/* ETK_D14, MODE4 | OUTPUT */ +		>; + +	}; +}; + +&omap3_pmx_wkup{ +	pinctrl-names = "default"; +	pinctrl-0 = <&wkup_pins>; + +	wkup_pins: pinmux_board_pins { +		pinctrl-single,pins = < +			0x01a 0x10c     /* SYS_CLKOUT1, MODE4 | INPUT_PULLDOWN */ +		>; +	}; +}; + +/* internal */ +&mmc2 { +	ti,non-removeable; +	bus-width = <8>; +	vmmc-supply = <&dummy>; +	vmmc_aux-supply = <&dummy>; +}; + +/* wireless */ +&mmc3 { +	ti,non-removeable; +	cap-power-off-card; +	bus-width = <4>; +	vmmc-supply = <&vmmc>; +	wl_host_wake_gpio = <10>; +}; |