ODROID-N2L: Fix for meson64_odroidn2l_android

Change-Id: I3cd142446b5cb69d0629f66125b0c8020f09272f
This commit is contained in:
Chris
2022-10-25 12:47:47 +09:00
parent 7a26dca174
commit b663de2fe6
4 changed files with 45 additions and 23 deletions

View File

@@ -15256,6 +15256,7 @@ LT8619C-QC4011 DRIVER
M: Chris KIM <codewalker@hardkenrle.com>
F: drivers/amlogic/bridge/
DTS OVERLAY FOR ODROID-N2 LITE
DTS OVERLAY FOR ODROID-N2L
M: Chris KIM <codewalker@hardkenrle.com>
F: arch/arm64/boot/dts/amlogic/overlays/odroidn2/odroidn2l-opp.dts
F: arch/arm64/boot/dts/amlogic/meson64_odroidn2l_android.dts

View File

@@ -12,6 +12,7 @@ dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson64_odroidhc4.dtb
dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson64_odroidhc4_android.dtb
dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2.dtb
dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2_android.dtb
dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2l_android.dtb
subdir-$(CONFIG_ARCH_MESON64_ODROIDC4) := overlays/odroidc4
subdir-$(CONFIG_ARCH_MESON64_ODROIDN2) := overlays/odroidn2

View File

@@ -0,0 +1,42 @@
/*
* arch/arm64/boot/dts/amlogic/meson64_odroidn2l_android.dts
*
* Copyright (C) 2018 Hardkernel Co., Ltd. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*/
#include "meson64_odroidn2_android.dts"
/ {
/delete-node/ gpio-reset;
};
&odroid_hdmi {
/delete-property/ mute_gpio;
};
&ethmac {
status = "disabled";
};
&i2c3 {
status = "disabled";
};
&usb3_phy_v2 {
status = "disabled";
};
&dwc2_a {
status = "disabled";
};

View File

@@ -136,7 +136,6 @@
opp-microvolt = <1040000>;
};
};
/delete-node/ gpio-reset;
};
fragment@2 {
@@ -150,25 +149,4 @@
};
};
fragment@3 {
target = <&ethmac>;
__overlay__ {
status = "disabled";
};
};
fragment@4 {
target = <&dwc2_a>;
__overlay__{
status = "disabled";
};
};
fragment@5 {
target = <&usb3_phy_v2>;
__overlay__{
status = "disabled";
};
};
};