2013-12-19 04:13:21 +07:00
|
|
|
/*
|
2014-01-12 20:22:45 +07:00
|
|
|
* Common support for CompuLab CM-T3x30 CoMs
|
2013-12-19 04:13:21 +07:00
|
|
|
*/
|
|
|
|
|
2014-01-12 20:22:45 +07:00
|
|
|
#include "omap3-cm-t3x.dtsi"
|
2013-12-19 04:13:21 +07:00
|
|
|
|
2014-01-12 20:22:45 +07:00
|
|
|
/ {
|
2013-12-19 04:13:21 +07:00
|
|
|
cpus {
|
|
|
|
cpu@0 {
|
|
|
|
cpu0-supply = <&vcc>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-12 20:22:45 +07:00
|
|
|
&omap3_pmx_core {
|
|
|
|
|
|
|
|
smsc1_pins: pinmux_smsc1_pins {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs5.gpmc_ncs5 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 */
|
|
|
|
>;
|
|
|
|
};
|
2014-01-12 20:22:52 +07:00
|
|
|
|
|
|
|
hsusb0_pins: pinmux_hsusb0_pins {
|
|
|
|
pinctrl-single,pins = <
|
2014-04-24 01:04:29 +07:00
|
|
|
OMAP3_CORE1_IOPAD(0x21a2, PIN_OUTPUT | MUX_MODE0) /* hsusb0_clk.hsusb0_clk */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21a4, PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21a6, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_dir.hsusb0_dir */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21a8, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_nxt.hsusb0_nxt */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21aa, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data0.hsusb2_data0 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21ac, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data1.hsusb0_data1 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21ae, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data2.hsusb0_data2 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21b0, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data3 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21b2, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data4 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21b4, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data5 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21b6, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data6 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x21b8, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data7 */
|
2014-01-12 20:22:52 +07:00
|
|
|
>;
|
|
|
|
};
|
2014-01-12 20:22:45 +07:00
|
|
|
};
|
|
|
|
|
2014-04-24 01:04:30 +07:00
|
|
|
#include "omap-gpmc-smsc911x.dtsi"
|
|
|
|
|
2013-12-19 04:13:21 +07:00
|
|
|
&gpmc {
|
|
|
|
ranges = <5 0 0x2c000000 0x01000000>;
|
|
|
|
|
2014-04-24 01:04:30 +07:00
|
|
|
smsc1: ethernet@gpmc {
|
2013-12-19 04:13:21 +07:00
|
|
|
compatible = "smsc,lan9221", "smsc,lan9115";
|
2014-01-12 20:22:45 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&smsc1_pins>;
|
2013-12-19 04:13:21 +07:00
|
|
|
interrupt-parent = <&gpio6>;
|
|
|
|
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
reg = <5 0 0xff>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
twl: twl@48 {
|
|
|
|
reg = <0x48>;
|
|
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "twl4030.dtsi"
|
|
|
|
#include "twl4030_omap3.dtsi"
|
|
|
|
|
2014-01-12 20:22:45 +07:00
|
|
|
&mmc1 {
|
|
|
|
vmmc-supply = <&vmmc1>;
|
2013-12-19 04:13:21 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&twl_gpio {
|
|
|
|
ti,use-leds;
|
2014-01-12 20:22:49 +07:00
|
|
|
/* pullups: BIT(0) */
|
|
|
|
ti,pullups = <0x000001>;
|
2013-12-19 04:13:21 +07:00
|
|
|
};
|
2014-01-12 20:22:50 +07:00
|
|
|
|
|
|
|
&hsusb1_phy {
|
|
|
|
reset-gpios = <&twl_gpio 6 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&hsusb2_phy {
|
|
|
|
reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
2014-01-12 20:22:52 +07:00
|
|
|
|
|
|
|
&usb_otg_hs {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&hsusb0_pins>;
|
|
|
|
interface-type = <0>;
|
|
|
|
usb-phy = <&usb2_phy>;
|
|
|
|
phys = <&usb2_phy>;
|
|
|
|
phy-names = "usb2-phy";
|
|
|
|
mode = <3>;
|
|
|
|
power = <50>;
|
|
|
|
};
|