lkml.org 
[lkml]   [2020]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] arm64: dts: meson-g12b-gtking: add initial device-tree
Date

On Tue 03 Mar 2020 at 15:50, Neil Armstrong <narmstrong@baylibre.com> wrote:

> On 29/02/2020 15:09, Christian Hewitt wrote:
>> The Shenzen AZW (Beelink) GT-King is based on the Amlogic W400 reference
>> board with an S922X chip.
>>
>> - 4GB LPDDR4 RAM
>> - 64GB eMMC storage
>> - 10/100/1000 Base-T Ethernet
>> - AP6356S Wireless (802.11 a/b/g/n/ac, BT 4.1)
>> - HDMI 2.1 video
>> - S/PDIF optical output
>> - Analogue audio output
>> - 1x USB 2.0 port
>> - 2x USB 3.0 ports
>> - IR receiver
>> - 1x micro SD card slot
>>
>> The device-tree is largely based on meson-g12b-ugoos-am6.

largely indeed ... Would you mind pointing out why the am6 dts can't be
used and why this one is needed ?

Maybe I missed something but they look the same to me.

>>
>> Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
>> ---
>> arch/arm64/boot/dts/amlogic/Makefile | 1 +
>> arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts | 557 ++++++++++++++++++++++
>> 2 files changed, 558 insertions(+)
>> create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
>>
>> diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
>> index eef0045..1fd28e8 100644
>> --- a/arch/arm64/boot/dts/amlogic/Makefile
>> +++ b/arch/arm64/boot/dts/amlogic/Makefile
>> @@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb
>> dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb
>> dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb
>> dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb
>> +dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking.dtb
>> dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb
>> dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb
>> dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb
>> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
>> new file mode 100644
>> index 0000000..819f208
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
>> @@ -0,0 +1,557 @@
>> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
>> +/*
>> + * Copyright (c) 2019 BayLibre, SAS
>> + * Author: Neil Armstrong <narmstrong@baylibre.com>
>> + * Copyright (c) 2019 Christian Hewitt <christianshewitt@gmail.com>
>> + */
>> +

[...]

>> +
>> +&spdifout_b {
>> + status = "okay";
>> +};
>> +

Again, not support by the HDMI controller and not used in the sound card.

\
 
 \ /
  Last update: 2020-03-05 09:22    [W:0.075 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site