mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 14:12:51 +00:00
ARM: dts: Keystone DTS update for v5.11
- HDMI Support - Analog Audio data support -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJfxphsAAoJEHJsHOdBp5c/yPEP/jjEJdSQ2HHF0OQAiiWeMyfA ZACvYgmSfUq6Xo74QHinthLShQ7hUDF+OHJO7lhLSdPxUwjJxr4WlvqMSwSMlV7R GiyjjGKWCX/6+N5AWWnBJplkWgdZhbdUmdT7L5EzxBBdWYTuf129kEMVynkCQx3V gKn9gweeBkAUqXnDm7dyFqZ5xukiEE/yFmcF5+5gDHN1S2AT7ji8qxkNfh5Pm2kt X8Po2/901NuJMnw9uh5H/Azkz9B112QCDOHMzubDLKfDCNbBaWFA22bb1tJD9r4W o7BGSq2gEn8bMx1QN5Kq0riMeShSAdZc6biCK4Hk/MnstJjjLK+DjTOs1MzuXGrr BPGsagMI1IWu9oQILo8mShlkJlCcvb6/peJ813wmwsm5REO+Lm2sQNCbbYAI9bOA RCdKR8Mg8jIjw9MyasVPGxBTSTC+wKjLG4u6kKVgCWjBnwSsEWwZbyq3sSmN+Vj1 aSp/oti4kwPCnwRM4iAklHlpAesQZokypWWdXnc1Ce+CUMK9nShe3My1CXEVLQzA oFQWsscr4171vPLDfZM8bvAyXxSSKVXzU186NY+8lQEPgsVp73yFC5RUwOWU+joc HRT4xGdWYmi9j+aOG0Jb+PMz8Q/lXSKoGfqNeWU4QLtdcmtJyn8FVV13oPyAxZUp R8GNAN+t/EHOK1Uw726f =pR0E -----END PGP SIGNATURE----- Merge tag 'keystone_dts_for_5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into arm/dt ARM: dts: Keystone DTS update for v5.11 - HDMI Support - Analog Audio data support * tag 'keystone_dts_for_5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone: ARM: dts: keystone-k2g-evm: add HDMI and analog audio data Link: https://lore.kernel.org/r/1606851472-26593-1-git-send-email-santosh.shilimkar@oracle.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
30912c3ce6
@ -46,6 +46,14 @@
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
vcc1v8_ldo2_reg: fixedregulator-vcc1v8-ldo2 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "ldo2";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
hdmi: connector {
|
||||
compatible = "hdmi-connector";
|
||||
label = "hdmi";
|
||||
@ -58,6 +66,57 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
aud_mclk: aud_mclk {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <12288000>;
|
||||
};
|
||||
|
||||
sound0: sound@0 {
|
||||
compatible = "simple-audio-card";
|
||||
simple-audio-card,name = "K2G-EVM";
|
||||
simple-audio-card,widgets =
|
||||
"Headphone", "Headphone Jack",
|
||||
"Line", "Line In";
|
||||
simple-audio-card,routing =
|
||||
"Headphone Jack", "HPLOUT",
|
||||
"Headphone Jack", "HPROUT",
|
||||
"LINE1L", "Line In",
|
||||
"LINE1R", "Line In";
|
||||
|
||||
simple-audio-card,dai-link@0 {
|
||||
format = "i2s";
|
||||
bitclock-master = <&sound0_0_master>;
|
||||
frame-master = <&sound0_0_master>;
|
||||
sound0_0_master: cpu {
|
||||
sound-dai = <&mcasp2>;
|
||||
clocks = <&k2g_clks 0x6 1>;
|
||||
system-clock-direction-out;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&tlv320aic3106>;
|
||||
clocks = <&aud_mclk>;
|
||||
};
|
||||
};
|
||||
|
||||
simple-audio-card,dai-link@1 {
|
||||
format = "i2s";
|
||||
bitclock-master = <&sound0_1_master>;
|
||||
frame-master = <&sound0_1_master>;
|
||||
sound0_1_master: cpu {
|
||||
sound-dai = <&mcasp2>;
|
||||
clocks = <&k2g_clks 0x6 1>;
|
||||
system-clock-direction-out;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&sii9022>;
|
||||
clocks = <&aud_mclk>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&k2g_pinctrl {
|
||||
@ -214,6 +273,15 @@
|
||||
K2G_CORE_IOPAD(0x10e8) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0) /* dssfid.dssfid */
|
||||
>;
|
||||
};
|
||||
|
||||
mcasp2_pins: pinmux_mcasp2_pins {
|
||||
pinctrl-single,pins = <
|
||||
K2G_CORE_IOPAD(0x1234) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE4) /* pr0_pru_gpo2.mcasp2_axr2 */
|
||||
K2G_CORE_IOPAD(0x1238) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE4) /* pr0_pru_gpo3.mcasp2_axr3 */
|
||||
K2G_CORE_IOPAD(0x1254) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE4) /* pr0_pru_gpo10.mcasp2_afsx */
|
||||
K2G_CORE_IOPAD(0x125c) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE4) /* pr0_pru_gpo12.mcasp2_aclkx */
|
||||
>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
@ -423,6 +491,10 @@
|
||||
compatible = "sil,sii9022";
|
||||
reg = <0x3b>;
|
||||
|
||||
sil,i2s-data-lanes = < 0 >;
|
||||
clocks = <&aud_mclk>;
|
||||
clock-names = "mclk";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@ -444,6 +516,19 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
tlv320aic3106: tlv320aic3106@1b {
|
||||
#sound-dai-cells = <0>;
|
||||
compatible = "ti,tlv320aic3106";
|
||||
reg = <0x1b>;
|
||||
status = "okay";
|
||||
|
||||
/* Regulators */
|
||||
AVDD-supply = <&vcc3v3_dcin_reg>;
|
||||
IOVDD-supply = <&vcc3v3_dcin_reg>;
|
||||
DRVDD-supply = <&vcc3v3_dcin_reg>;
|
||||
DVDD-supply = <&vcc1v8_ldo2_reg>;
|
||||
};
|
||||
};
|
||||
|
||||
&dss {
|
||||
@ -458,3 +543,30 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&k2g_clks {
|
||||
/* on the board 22.5792MHz is connected to AUDOSC_IN */
|
||||
assigned-clocks = <&k2g_clks 0x4c 2>;
|
||||
assigned-clock-rates = <22579200>;
|
||||
};
|
||||
|
||||
&mcasp2 {
|
||||
#sound-dai-cells = <0>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mcasp2_pins>;
|
||||
|
||||
assigned-clocks = <&k2g_clks 0x6 1>;
|
||||
assigned-clock-parents = <&k2g_clks 0x6 2>;
|
||||
|
||||
status = "okay";
|
||||
|
||||
op-mode = <0>; /* MCASP_IIS_MODE */
|
||||
tdm-slots = <2>;
|
||||
/* 6 serializer */
|
||||
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
|
||||
0 0 1 2 0 0 // AXR2: TX, AXR3: rx
|
||||
>;
|
||||
tx-num-evt = <32>;
|
||||
rx-num-evt = <32>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user