diff options
author | Chris Morgan <macromorgan@hotmail.com> | 2022-10-28 13:40:43 -0500 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-10-30 20:48:50 +0100 |
commit | 1e141cf127262150d053ed3f80d0d3c42de11c43 (patch) | |
tree | f9e33982c919ad67d44d26a8d7e5ccfa3a419d02 /arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | |
parent | e1cc1e712d85c10ad47a083186c222210dab5b23 (diff) |
arm64: dts: rockchip: add Anbernic RG353V and RG353VS
Anbernic RG353V and RG353VS are both RK3566 based handheld gaming devices
from Anbernic.
They are functionally very similar to the RG353P with the following
distinct differences:
- The battery size of the RG353V and RG353VS is 3200mAh instead of
3500mAh.
- The audio uses the PMIC's internal amplifier for a mono speaker
instead of an external amplifier with stereo speakers.
- The GPIOs for the R1 and R2 buttons are switched.
As for the differences between the RG353V and RG353VS, they are as
follows:
- The RG353VS has no touchscreen on i2c2.
- The RG353VS has no eMMC.
- The RG353VS has 1GB of RAM instead of 2GB.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20221028184045.13113-3-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi index 2b455143b86d..010c6a77a9da 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi @@ -217,37 +217,6 @@ }; }; - /* Channels reversed for both headphones and speakers. */ - sound { - compatible = "simple-audio-card"; - simple-audio-card,name = "anbernic_rk817"; - simple-audio-card,aux-devs = <&spk_amp>; - simple-audio-card,format = "i2s"; - simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; - simple-audio-card,mclk-fs = <256>; - simple-audio-card,widgets = - "Microphone", "Mic Jack", - "Headphone", "Headphones", - "Speaker", "Internal Speakers"; - simple-audio-card,routing = - "MICL", "Mic Jack", - "Headphones", "HPOL", - "Headphones", "HPOR", - "Internal Speakers", "Speaker Amp OUTL", - "Internal Speakers", "Speaker Amp OUTR", - "Speaker Amp INL", "HPOL", - "Speaker Amp INR", "HPOR"; - simple-audio-card,pin-switches = "Internal Speakers"; - - simple-audio-card,codec { - sound-dai = <&rk817>; - }; - - simple-audio-card,cpu { - sound-dai = <&i2s1_8ch>; - }; - }; - sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rk817 1>; @@ -258,14 +227,6 @@ reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_LOW>; }; - spk_amp: audio-amplifier { - compatible = "simple-audio-amplifier"; - enable-gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; - pinctrl-0 = <&spk_amp_enable_h>; - pinctrl-names = "default"; - sound-name-prefix = "Speaker Amp"; - }; - vcc3v3_lcd0_n: regulator-vcc3v3-lcd0 { compatible = "regulator-fixed"; gpio = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>; @@ -607,13 +568,6 @@ }; &pinctrl { - audio-amplifier { - spk_amp_enable_h: spk-amp-enable-h { - rockchip,pins = - <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - gpio-btns { btn_pins_ctrl: btn-pins-ctrl { rockchip,pins = |