mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
6a0a6c45ed
Backport upstreamed dts updates for rk3588. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/16149 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From a86e88043de929da76f7f6cf0990ba92aed8391a Mon Sep 17 00:00:00 2001
|
|
From: Heiko Stuebner <heiko.stuebner@cherry.de>
|
|
Date: Tue, 5 Dec 2023 17:48:42 +0100
|
|
Subject: [PATCH] arm64: dts: rockchip: add rk3588 spi aliases to soc dtsi
|
|
|
|
The spi controllers on rk3588 are named spi0 - spi4. Board schematics
|
|
also use these exact numbers and we want those names to also reflect
|
|
in the OS devices because everything else would just cause confusion.
|
|
Userspace spi access is a thing afterall.
|
|
|
|
To prevent each board repeating their list of spi aliases, define them
|
|
in the soc dtsi, as previous Rockchip soc like the rk356x do already.
|
|
|
|
Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
|
|
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
|
|
Link: https://lore.kernel.org/r/20231205164842.556684-5-heiko@sntech.de
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi
|
|
@@ -43,6 +43,11 @@
|
|
serial7 = &uart7;
|
|
serial8 = &uart8;
|
|
serial9 = &uart9;
|
|
+ spi0 = &spi0;
|
|
+ spi1 = &spi1;
|
|
+ spi2 = &spi2;
|
|
+ spi3 = &spi3;
|
|
+ spi4 = &spi4;
|
|
};
|
|
|
|
cpus {
|