[9610] arm64: dtsi: add dts config define for FM Radio Initialization
authorYunsu Kim <iamyunsu.kim@samsung.com>
Mon, 11 Jun 2018 08:02:28 +0000 (17:02 +0900)
committerYoungsoo Kim <youngss.kim@samsung.com>
Fri, 15 Jun 2018 23:33:13 +0000 (08:33 +0900)
Change-Id: Ieb63ae99d8440da56b1c29e17e3b2e01428b0ae1
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
arch/arm64/boot/dts/exynos/exynos9610-pinctrl.dtsi
arch/arm64/boot/dts/exynos/exynos9610.dtsi

index 4b91eeb73cf05783dd06575257a345a9ab313fb9..1590b913d07fd3e62ea1f9d8a8e1e72ad713d42e 100644 (file)
                        #interrupt-cells = <2>;
                };
 
+               fm_lna_en: fm-lna-en {
+                       samsung,pins = "gpg1-0";
+                       samsung,pin-function = <1>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-val = <0>;
+               };
+
                /* USI_PERI_CAMI2C_0 */
                hsi2c12_bus: hsi2c12-bus {
                        samsung,pins = "gpc0-0", "gpc0-1";
index 6ecec42452fe6bfb75f5ade4a9ac314c14b0196b..d6fc9c93fc21fcef652f67be1bf2b59b15c787bd 100644 (file)
                };
        };
 
+       fm@14AC0000 {
+               compatible = "samsung,exynos9610-fm";
+               reg = <0x0 0x14AC0000 0x2000>,
+                       <0x0 0x14800800 0x10>;
+               elna_gpio = <&gpg1 0 0x1>; /* FM_LNA_EN */
+               pinctrl-names = "default";
+               pinctrl-0 = <&fm_lna_en>;
+               clocks = <&clock MUX_AUD_FM>,
+                       <&clock GATE_ABOX_QCH_FM>,
+                       <&clock DOUT_CLK_AUD_FM>;  /* mux_aud_fm, qch_fm, clk_aud_fm */
+               clock-names = "mux_aud_fm", "qch_fm", "clk_aud_fm";
+               without_elna = <1>;
+               samsung,syscon-phandle = <&pmu_system_controller>;
+               samsung,power-domain = <&pd_dispaud>;
+               status = "disabled";
+       };
 };