mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-01 03:21:21 +00:00
69 lines
1.8 KiB
Diff
69 lines
1.8 KiB
Diff
From cc7f9f99d5e29270dca4952502f2c661f4aa0ac0 Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Tue, 29 Dec 2020 09:31:57 +0000
|
|
Subject: [PATCH 83/88] arm64: dts: meson: fixups for WeTek common dtsi
|
|
|
|
Minor changes that result from work on mainline u-boot support, closer
|
|
study of vendor 3.14 device-tree, and access to vendor schematics:
|
|
|
|
- Add missing GPIO binding
|
|
- Add higher max-freq to SDIO and SD
|
|
- Add higher rates to SDIO
|
|
- Use updated LED bindings
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 15 +++++++++++----
|
|
1 file changed, 11 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
|
|
index a350fee1264d..8c6453fd130f 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
|
|
@@ -6,6 +6,8 @@
|
|
*/
|
|
|
|
#include "meson-gxbb.dtsi"
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
+#include <dt-bindings/leds/common.h>
|
|
|
|
/ {
|
|
aliases {
|
|
@@ -25,8 +27,10 @@
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
- led-system {
|
|
- label = "wetek-play:system-status";
|
|
+ blue {
|
|
+ /* red in suspend or power-off */
|
|
+ color = <LED_COLOR_ID_BLUE>;
|
|
+ function = LED_FUNCTION_POWER;
|
|
gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
|
|
default-state = "on";
|
|
panic-indicator;
|
|
@@ -199,7 +203,10 @@
|
|
|
|
bus-width = <4>;
|
|
cap-sd-highspeed;
|
|
- max-frequency = <50000000>;
|
|
+ sd-uhs-sdr12;
|
|
+ sd-uhs-sdr25;
|
|
+ sd-uhs-sdr50;
|
|
+ max-frequency = <200000000>;
|
|
|
|
non-removable;
|
|
disable-wp;
|
|
@@ -227,7 +234,7 @@
|
|
|
|
bus-width = <4>;
|
|
cap-sd-highspeed;
|
|
- max-frequency = <50000000>;
|
|
+ max-frequency = <100000000>;
|
|
disable-wp;
|
|
|
|
cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
|
|
--
|
|
2.17.1
|
|
|