mirror of
https://github.com/armbian/build.git
synced 2025-08-10 05:06:57 +02:00
* meson64-edge/5.19: use `tag:v5.19-rc2`, meson64 kernel config and kernel patches, by @adeepv * meson64-edge/5.19: we don't need `CONFIG_ARCH_ROCKCHIP=y` for meson64, right? * meson64-edge/5.19: remove `meson_drv_shutdown` revert patch, instead `CONFIG_DRM_MESON=y` and its dependencies in .config - this allows other meson64's to shutdown properly, while allowing the N2(+) to reboot without kernel-side hangs * meson64-edge/5.19: odroidn2(+): remove SD UHS modes patch for ODROID N2(+) - it works when cold-booted - but changes voltage to enable - when rebooted, voltage persists and uboot can't read the SD anymore - adding the "odroid,reboot" driver+dt that is supposed to fix this, doesn't - so for now remove it * meson64-edge/5.19: odroidn2(+): add dumb gpio fan at 30 celsius - backport from rework in 5.10 * meson64-edge/5.19: odroidhc4: bring back `fan1_input` by adding fan details to DT - yeah, I know; the cooling map is right there too, so empty, poor thing. for later. * meson64-edge/5.19: bump to 5.19-rc3 * meson64-edge/5.19: radxa-zero: add patch to remove UHS mode so `wifi` works - sent by @pyavitz: https://raw.githubusercontent.com/pyavitz/debian-image-builder/feature/patches/amlogic/radxazero/wifi/001-arm64-dts-amlogic-radxa-zero-sdio-card-speed.patch - tested by @lanefu * meson64-edge/5.19: bump to 5.19-rc4 * meson64-edge/5.19: bump to 5.19-rc5 * meson64-edge/5.19: bump to 5.19-rc7 * meson64-edge/5.19: bump to 5.19.y branch, which is 5.19.0 right now * Add kernel config - tested on Odroid N2+ Co-authored-by: Vyacheslav Bocharov <adeep@lexina.in> Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
38 lines
951 B
Diff
38 lines
951 B
Diff
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
|
index b2cb12fb46fd..c252de8e4b17 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
|
@@ -176,6 +176,32 @@ hdmi_connector_in: endpoint {
|
|
};
|
|
};
|
|
|
|
+ spi-gpio {
|
|
+ compatible = "spi-gpio";
|
|
+ #address-cells = <0x1>;
|
|
+ #size-cells = <0x0>;
|
|
+ ranges;
|
|
+ status = "disabled";
|
|
+ sck-gpios = <&gpio GPIOX_2 0>;
|
|
+ miso-gpios = <&gpio GPIOX_4 0>;
|
|
+ mosi-gpios = <&gpio GPIOX_7 0>;
|
|
+ cs-gpios = <&gpio GPIOX_3 0
|
|
+ &gpio GPIOX_1 0>;
|
|
+ num-chipselects = <2>;
|
|
+
|
|
+ /* clients */
|
|
+ spidev0@0 {
|
|
+ compatible = "spidev";
|
|
+ reg = <0>;
|
|
+ spi-max-frequency = <500000>;
|
|
+ };
|
|
+ spidev0@1 {
|
|
+ compatible = "spidev";
|
|
+ reg = <1>;
|
|
+ spi-max-frequency = <500000>;
|
|
+ };
|
|
+ };
|
|
+
|
|
sound {
|
|
compatible = "amlogic,gx-sound-card";
|
|
model = "ODROID-C2";
|