xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/omap2420-n810.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/dts-v1/;
3*f126890aSEmmanuel Vadot
4*f126890aSEmmanuel Vadot#include "omap2420-n8x0-common.dtsi"
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot/ {
7*f126890aSEmmanuel Vadot	model = "Nokia N810";
8*f126890aSEmmanuel Vadot	compatible = "nokia,n810", "nokia,n8x0", "ti,omap2420", "ti,omap2";
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot	vio_ape: vio_ape {
11*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
12*f126890aSEmmanuel Vadot		regulator-name = "vio_ape";
13*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
14*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
15*f126890aSEmmanuel Vadot	};
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	v28_aic: v28_aic {
18*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
19*f126890aSEmmanuel Vadot		regulator-name = "v28_aic";
20*f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
21*f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot&omap2420_pmx {
26*f126890aSEmmanuel Vadot	mcbsp2_pins: mcbsp2-pins {
27*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
28*f126890aSEmmanuel Vadot			OMAP2420_CORE_IOPAD(0x0124, PIN_INPUT | MUX_MODE1)	/* eac_ac_sclk.mcbsp2_clkx */
29*f126890aSEmmanuel Vadot			OMAP2420_CORE_IOPAD(0x0125, PIN_INPUT | MUX_MODE1)	/* eac_ac_fs.mcbsp2_fsx */
30*f126890aSEmmanuel Vadot			OMAP2420_CORE_IOPAD(0x0126, PIN_INPUT | MUX_MODE1)	/* eac_ac_din.mcbsp2_dr */
31*f126890aSEmmanuel Vadot			OMAP2420_CORE_IOPAD(0x0127, PIN_OUTPUT | MUX_MODE1)	/* eac_ac_dout.mcbsp2_dx */
32*f126890aSEmmanuel Vadot		>;
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot	aic33_pins: aic33-pins {
36*f126890aSEmmanuel Vadot		pinctrl-single,pins = <
37*f126890aSEmmanuel Vadot			OMAP2420_CORE_IOPAD(0x0129, PIN_OUTPUT | MUX_MODE3)	/* eac_ac_rst.gpio118 */
38*f126890aSEmmanuel Vadot			OMAP2420_CORE_IOPAD(0x00e8, PIN_OUTPUT | MUX_MODE2)	/* vlynq_tx1.sys_clkout2 */
39*f126890aSEmmanuel Vadot		>;
40*f126890aSEmmanuel Vadot	};
41*f126890aSEmmanuel Vadot};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot&i2c2 {
44*f126890aSEmmanuel Vadot	aic33@18 {
45*f126890aSEmmanuel Vadot		compatible = "ti,tlv320aic33";
46*f126890aSEmmanuel Vadot		reg = <0x18>;
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot		pinctrl-names = "default";
49*f126890aSEmmanuel Vadot		pinctrl-0 = <&aic33_pins>;
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot		reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; /* gpio118 */
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot		ai3x-gpio-func = <
54*f126890aSEmmanuel Vadot			10 /* AIC3X_GPIO1_FUNC_DIGITAL_MIC_MODCLK */
55*f126890aSEmmanuel Vadot			5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */
56*f126890aSEmmanuel Vadot		>;
57*f126890aSEmmanuel Vadot		ai3x-micbias-vg = <1>; /* 2V */
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot		AVDD-supply = <&v28_aic>;
60*f126890aSEmmanuel Vadot		DRVDD-supply = <&v28_aic>;
61*f126890aSEmmanuel Vadot		IOVDD-supply = <&vio_ape>;
62*f126890aSEmmanuel Vadot		DVDD-supply = <&vio_ape>;
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot		assigned-clocks = <&sys_clkout2_src>, <&sys_clkout2>;
65*f126890aSEmmanuel Vadot		assigned-clock-parents = <&func_96m_ck>;
66*f126890aSEmmanuel Vadot		assigned-clock-rates = <0>, <12000000>;
67*f126890aSEmmanuel Vadot	};
68*f126890aSEmmanuel Vadot};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot&mcbsp2 {
71*f126890aSEmmanuel Vadot	pinctrl-names = "default";
72*f126890aSEmmanuel Vadot	pinctrl-0 = <&mcbsp2_pins>;
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot	status = "okay";
75*f126890aSEmmanuel Vadot};
76