diff options
Diffstat (limited to 'testing/linux-amlogic/add-phicomm-n1.patch')
-rw-r--r-- | testing/linux-amlogic/add-phicomm-n1.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/testing/linux-amlogic/add-phicomm-n1.patch b/testing/linux-amlogic/add-phicomm-n1.patch new file mode 100644 index 0000000000..2140d8d828 --- /dev/null +++ b/testing/linux-amlogic/add-phicomm-n1.patch @@ -0,0 +1,60 @@ +diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile +index 34dd0e9..773f415 100644 +--- a/arch/arm64/boot/dts/amlogic/Makefile ++++ b/arch/arm64/boot/dts/amlogic/Makefile +@@ -17,6 +17,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb + dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb + dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb + dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb ++dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-phicomm-n1.dtb + dtb-$(CONFIG_ARCH_MESON) += meson-gxm-khadas-vim2.dtb + dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb + dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb +diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +new file mode 100644 +index 0000000..7903dad +--- /dev/null ++++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +@@ -0,0 +1,42 @@ ++// SPDX-License-Identifier: (GPL-2.0+ OR MIT) ++/* ++ * Copyright (c) 2018 He Yangxuan ++ */ ++ ++/dts-v1/; ++ ++#include "meson-gxl-s905d-p230.dts" ++ ++/ { ++ compatible = "phicomm,n1", "amlogic,s905d", "amlogic,meson-gxl"; ++ model = "Phicomm N1"; ++ ++ aliases { ++ serial1 = &uart_A; ++ }; ++ ++ cvbs-connector { ++ status = "disabled"; ++ }; ++}; ++ ++&cvbs_vdac_port { ++ status = "disabled"; ++}; ++ ++&external_phy { ++ /* Realtek RTL8211F (0x001cc916) */ ++ eee-broken-1000t; ++}; ++ ++/* This is connected to the Bluetooth module: */ ++&uart_A { ++ status = "okay"; ++ pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; ++ pinctrl-names = "default"; ++ ++ bluetooth { ++ compatible = "brcm,bcm43438-bt"; ++ shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; ++ }; ++}; |