Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 
0004 #include "omap2420-n8x0-common.dtsi"
0005 
0006 / {
0007         model = "Nokia N810";
0008         compatible = "nokia,n810", "nokia,n8x0", "ti,omap2420", "ti,omap2";
0009 
0010         vio_ape: vio_ape {
0011                 compatible = "regulator-fixed";
0012                 regulator-name = "vio_ape";
0013                 regulator-min-microvolt = <1800000>;
0014                 regulator-max-microvolt = <1800000>;
0015         };
0016 
0017         v28_aic: v28_aic {
0018                 compatible = "regulator-fixed";
0019                 regulator-name = "v28_aic";
0020                 regulator-min-microvolt = <2800000>;
0021                 regulator-max-microvolt = <2800000>;
0022         };
0023 };
0024 
0025 &omap2420_pmx {
0026         mcbsp2_pins: mcbsp2_pins {
0027                 pinctrl-single,pins = <
0028                         OMAP2420_CORE_IOPAD(0x0124, PIN_INPUT | MUX_MODE1)      /* eac_ac_sclk.mcbsp2_clkx */
0029                         OMAP2420_CORE_IOPAD(0x0125, PIN_INPUT | MUX_MODE1)      /* eac_ac_fs.mcbsp2_fsx */
0030                         OMAP2420_CORE_IOPAD(0x0126, PIN_INPUT | MUX_MODE1)      /* eac_ac_din.mcbsp2_dr */
0031                         OMAP2420_CORE_IOPAD(0x0127, PIN_OUTPUT | MUX_MODE1)     /* eac_ac_dout.mcbsp2_dx */
0032                 >;
0033         };
0034 
0035         aic33_pins: aic33_pins {
0036                 pinctrl-single,pins = <
0037                         OMAP2420_CORE_IOPAD(0x0129, PIN_OUTPUT | MUX_MODE3)     /* eac_ac_rst.gpio118 */
0038                         OMAP2420_CORE_IOPAD(0x00e8, PIN_OUTPUT | MUX_MODE2)     /* vlynq_tx1.sys_clkout2 */
0039                 >;
0040         };
0041 };
0042 
0043 &i2c2 {
0044         aic33@18 {
0045                 compatible = "ti,tlv320aic33";
0046                 reg = <0x18>;
0047 
0048                 pinctrl-names = "default";
0049                 pinctrl-0 = <&aic33_pins>;
0050 
0051                 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; /* gpio118 */
0052 
0053                 ai3x-gpio-func = <
0054                         10 /* AIC3X_GPIO1_FUNC_DIGITAL_MIC_MODCLK */
0055                         5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */
0056                 >;
0057                 ai3x-micbias-vg = <1>; /* 2V */
0058 
0059                 AVDD-supply = <&v28_aic>;
0060                 DRVDD-supply = <&v28_aic>;
0061                 IOVDD-supply = <&vio_ape>;
0062                 DVDD-supply = <&vio_ape>;
0063 
0064                 assigned-clocks = <&sys_clkout2_src>, <&sys_clkout2>;
0065                 assigned-clock-parents = <&func_96m_ck>;
0066                 assigned-clock-rates = <0>, <12000000>;
0067         };
0068 };
0069 
0070 &mcbsp2 {
0071         pinctrl-names = "default";
0072         pinctrl-0 = <&mcbsp2_pins>;
0073 
0074         status = "okay";
0075 };