Commit 6a3549d4 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Simon Horman

ARM: shmobile: armadillo: add FSI support for DTS

This patch support FSI-WM8978 with simple audio card
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent efcd869b
...@@ -87,6 +87,24 @@ backlight { ...@@ -87,6 +87,24 @@ backlight {
pinctrl-0 = <&backlight_pins>; pinctrl-0 = <&backlight_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,cpu {
sound-dai = <&sh_fsi2 0>;
bitclock-inversion;
};
simple-audio-card,codec {
sound-dai = <&wm8978>;
bitclock-master;
frame-master;
system-clock-frequency = <12288000>;
};
};
}; };
&i2c0 { &i2c0 {
...@@ -100,6 +118,12 @@ touchscreen@55 { ...@@ -100,6 +118,12 @@ touchscreen@55 {
pinctrl-names = "default"; pinctrl-names = "default";
gpios = <&pfc 166 GPIO_ACTIVE_LOW>; gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
}; };
wm8978: wm8978@1a {
#sound-dai-cells = <0>;
compatible = "wlf,wm8978";
reg = <0x1a>;
};
}; };
&pfc { &pfc {
...@@ -130,6 +154,12 @@ sdhi0_pins: sd0 { ...@@ -130,6 +154,12 @@ sdhi0_pins: sd0 {
renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp"; renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
renesas,function = "sdhi0"; renesas,function = "sdhi0";
}; };
fsia_pins: sounda {
renesas,groups = "fsia_sclk_in", "fsia_mclk_out",
"fsia_data_in_1", "fsia_data_out_0";
renesas,function = "fsia";
};
}; };
&tpu { &tpu {
...@@ -156,3 +186,10 @@ &sdhi0 { ...@@ -156,3 +186,10 @@ &sdhi0 {
cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>; cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
&sh_fsi2 {
pinctrl-0 = <&fsia_pins>;
pinctrl-names = "default";
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment