omap5-uevm.dts 4.3 KB
Newer Older
1
/*
2
 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
3 4 5 6 7 8 9
 *
 * 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/;

10
#include "omap5.dtsi"
11 12

/ {
13 14
	model = "TI OMAP5 uEVM board";
	compatible = "ti,omap5-uevm", "ti,omap5";
15 16 17

	memory {
		device_type = "memory";
18
		reg = <0x80000000 0x7F000000>; /* 2032 MB */
19
	};
20 21 22 23 24 25 26

	vmmcsd_fixed: fixedregulator-mmcsd {
		compatible = "regulator-fixed";
		regulator-name = "vmmcsd_fixed";
		regulator-min-microvolt = <3000000>;
		regulator-max-microvolt = <3000000>;
	};
27

28 29
};

30 31 32 33 34 35 36 37 38 39 40 41
&omap5_pmx_core {
	pinctrl-names = "default";
	pinctrl-0 = <
			&twl6040_pins
			&mcpdm_pins
			&dmic_pins
			&mcbsp1_pins
			&mcbsp2_pins
	>;

	twl6040_pins: pinmux_twl6040_pins {
		pinctrl-single,pins = <
42
			0x18a (PIN_OUTPUT | MUX_MODE6)	/* perslimbus2_clock.gpio5_145 */
43 44 45 46 47
		>;
	};

	mcpdm_pins: pinmux_mcpdm_pins {
		pinctrl-single,pins = <
48 49 50 51 52
			0x142 (PIN_INPUT_PULLDOWN | MUX_MODE0)	/* abe_clks.abe_clks */
			0x15c (PIN_INPUT_PULLDOWN | MUX_MODE0)	/* abemcpdm_ul_data.abemcpdm_ul_data */
			0x15e (PIN_INPUT_PULLDOWN | MUX_MODE0)	/* abemcpdm_dl_data.abemcpdm_dl_data */
			0x160 (PIN_INPUT_PULLUP | MUX_MODE0)	/* abemcpdm_frame.abemcpdm_frame */
			0x162 (PIN_INPUT_PULLDOWN | MUX_MODE0)	/* abemcpdm_lb_clk.abemcpdm_lb_clk */
53 54 55 56 57
		>;
	};

	dmic_pins: pinmux_dmic_pins {
		pinctrl-single,pins = <
58 59 60 61
			0x144 (PIN_INPUT | MUX_MODE0)		/* abedmic_din1.abedmic_din1 */
			0x146 (PIN_INPUT | MUX_MODE0)		/* abedmic_din2.abedmic_din2 */
			0x148 (PIN_INPUT | MUX_MODE0)		/* abedmic_din3.abedmic_din3 */
			0x14a (PIN_OUTPUT | MUX_MODE0)		/* abedmic_clk1.abedmic_clk1 */
62 63 64 65 66
		>;
	};

	mcbsp1_pins: pinmux_mcbsp1_pins {
		pinctrl-single,pins = <
67 68 69 70
			0x14c (PIN_INPUT | MUX_MODE1)		/* abedmic_clk2.abemcbsp1_fsx */
			0x14e (PIN_OUTPUT_PULLDOWN | MUX_MODE1)	/* abedmic_clk3.abemcbsp1_dx */
			0x150 (PIN_INPUT | MUX_MODE1)		/* abeslimbus1_clock.abemcbsp1_clkx */
			0x152 (PIN_INPUT_PULLDOWN | MUX_MODE1)	/* abeslimbus1_data.abemcbsp1_dr */
71 72 73 74 75
		>;
	};

	mcbsp2_pins: pinmux_mcbsp2_pins {
		pinctrl-single,pins = <
76 77 78 79
			0x154 (PIN_INPUT_PULLDOWN | MUX_MODE0)	/* abemcbsp2_dr.abemcbsp2_dr */
			0x156 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* abemcbsp2_dx.abemcbsp2_dx */
			0x158 (PIN_INPUT | MUX_MODE0)		/* abemcbsp2_fsx.abemcbsp2_fsx */
			0x15a (PIN_INPUT | MUX_MODE0)		/* abemcbsp2_clkx.abemcbsp2_clkx */
80 81
		>;
	};
82

83 84 85 86 87 88
	i2c1_pins: pinmux_i2c1_pins {
		pinctrl-single,pins = <
			0x1b2 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c1_scl */
			0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c1_sda */
		>;
	};
89 90 91

	i2c5_pins: pinmux_i2c5_pins {
		pinctrl-single,pins = <
92 93
			0x184 (PIN_INPUT | MUX_MODE0)		/* i2c5_scl */
			0x186 (PIN_INPUT | MUX_MODE0)		/* i2c5_sda */
94 95
		>;
	};
96 97 98

	mcspi2_pins: pinmux_mcspi2_pins {
		pinctrl-single,pins = <
99 100 101 102
			0xbc (PIN_INPUT | MUX_MODE0)		/*  mcspi2_clk */
			0xbe (PIN_INPUT | MUX_MODE0)		/*  mcspi2_simo */
			0xc0 (PIN_INPUT_PULLUP | MUX_MODE0)	/*  mcspi2_somi */
			0xc2 (PIN_OUTPUT | MUX_MODE0)		/*  mcspi2_cs */
103 104 105 106 107
		>;
	};

	mcspi3_pins: pinmux_mcspi3_pins {
		pinctrl-single,pins = <
108 109 110 111
			0x78 (PIN_INPUT | MUX_MODE1)		/*  mcspi2_somi */
			0x7a (PIN_INPUT | MUX_MODE1)		/*  mcspi2_cs */
			0x7c (PIN_INPUT | MUX_MODE1)		/*  mcspi2_simo */
			0x7e (PIN_INPUT | MUX_MODE1)		/*  mcspi2_clk */
112 113 114 115 116
		>;
	};

	mcspi4_pins: pinmux_mcspi4_pins {
		pinctrl-single,pins = <
117 118 119 120
			0x164 (PIN_INPUT | MUX_MODE1)		/*  mcspi2_clk */
			0x168 (PIN_INPUT | MUX_MODE1)		/*  mcspi2_simo */
			0x16a (PIN_INPUT | MUX_MODE1)		/*  mcspi2_somi */
			0x16c (PIN_INPUT | MUX_MODE1)		/*  mcspi2_cs */
121 122
		>;
	};
123 124
};

125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
&mmc1 {
	vmmc-supply = <&vmmcsd_fixed>;
	bus-width = <4>;
};

&mmc2 {
	vmmc-supply = <&vmmcsd_fixed>;
	bus-width = <8>;
	ti,non-removable;
};

&mmc3 {
	bus-width = <4>;
	ti,non-removable;
};

&mmc4 {
	status = "disabled";
};

&mmc5 {
	status = "disabled";
147
};
148

149 150 151 152 153 154 155 156 157 158 159 160 161 162
&i2c1 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;

	clock-frequency = <400000>;
};

&i2c5 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c5_pins>;

	clock-frequency = <400000>;
};

163 164 165
&mcbsp3 {
	status = "disabled";
};
166

167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
&mcspi1 {

};

&mcspi2 {
	pinctrl-names = "default";
	pinctrl-0 = <&mcspi2_pins>;
};

&mcspi3 {
	pinctrl-names = "default";
	pinctrl-0 = <&mcspi3_pins>;
};

&mcspi4 {
	pinctrl-names = "default";
	pinctrl-0 = <&mcspi4_pins>;
};