mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 10:12:14 +02:00
rockchip: gpio: Add missing gpio aliases
Add aliases for gpio controllers to soc u-boot dtsi files that are missing aliases in soc dtsi files to ensure dev_seq() return the expected number when a gpio controller is included in SPL. Also drop the aliases from rk3288-u-boot.dtsi, they are already part of rk3288.dtsi. Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
This commit is contained in:
committed by
Ondrej Jirman
parent
0fd45b2666
commit
17fce0e52f
@@ -7,6 +7,10 @@
|
|||||||
|
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
|
gpio0 = &gpio0;
|
||||||
|
gpio1 = &gpio1;
|
||||||
|
gpio2 = &gpio2;
|
||||||
|
gpio3 = &gpio3;
|
||||||
mmc0 = &emmc;
|
mmc0 = &emmc;
|
||||||
mmc1 = &sdmmc;
|
mmc1 = &sdmmc;
|
||||||
};
|
};
|
||||||
|
@@ -3,6 +3,13 @@
|
|||||||
#include "rockchip-u-boot.dtsi"
|
#include "rockchip-u-boot.dtsi"
|
||||||
#include "rk3xxx-u-boot.dtsi"
|
#include "rk3xxx-u-boot.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
aliases {
|
||||||
|
gpio4 = &gpio4;
|
||||||
|
gpio6 = &gpio6;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&gpio0 {
|
&gpio0 {
|
||||||
gpio-ranges = <&pinctrl 0 0 32>;
|
gpio-ranges = <&pinctrl 0 0 32>;
|
||||||
};
|
};
|
||||||
|
@@ -7,15 +7,6 @@
|
|||||||
|
|
||||||
/ {
|
/ {
|
||||||
aliases {
|
aliases {
|
||||||
gpio0 = &gpio0;
|
|
||||||
gpio1 = &gpio1;
|
|
||||||
gpio2 = &gpio2;
|
|
||||||
gpio3 = &gpio3;
|
|
||||||
gpio4 = &gpio4;
|
|
||||||
gpio5 = &gpio5;
|
|
||||||
gpio6 = &gpio6;
|
|
||||||
gpio7 = &gpio7;
|
|
||||||
gpio8 = &gpio8;
|
|
||||||
mmc0 = &emmc;
|
mmc0 = &emmc;
|
||||||
mmc1 = &sdmmc;
|
mmc1 = &sdmmc;
|
||||||
mmc2 = &sdio0;
|
mmc2 = &sdio0;
|
||||||
|
@@ -1,6 +1,13 @@
|
|||||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
aliases {
|
||||||
|
gpio0 = &gpio0;
|
||||||
|
gpio1 = &gpio1;
|
||||||
|
gpio2 = &gpio2;
|
||||||
|
gpio3 = &gpio3;
|
||||||
|
};
|
||||||
|
|
||||||
noc: syscon@10128000 {
|
noc: syscon@10128000 {
|
||||||
compatible = "rockchip,rk3188-noc", "syscon";
|
compatible = "rockchip,rk3188-noc", "syscon";
|
||||||
reg = <0x10128000 0x2000>;
|
reg = <0x10128000 0x2000>;
|
||||||
|
@@ -5,6 +5,15 @@
|
|||||||
|
|
||||||
#include "rockchip-u-boot.dtsi"
|
#include "rockchip-u-boot.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
aliases {
|
||||||
|
gpio0 = &gpio0;
|
||||||
|
gpio1 = &gpio1;
|
||||||
|
gpio2 = &gpio2;
|
||||||
|
gpio3 = &gpio3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&gpio0 {
|
&gpio0 {
|
||||||
gpio-ranges = <&pinctrl 0 0 32>;
|
gpio-ranges = <&pinctrl 0 0 32>;
|
||||||
};
|
};
|
||||||
|
@@ -6,6 +6,14 @@
|
|||||||
#include "rockchip-u-boot.dtsi"
|
#include "rockchip-u-boot.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
aliases {
|
||||||
|
gpio0 = &gpio0;
|
||||||
|
gpio1 = &gpio1;
|
||||||
|
gpio2 = &gpio2;
|
||||||
|
gpio3 = &gpio3;
|
||||||
|
gpio4 = &gpio4;
|
||||||
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
u-boot,spl-boot-order = \
|
u-boot,spl-boot-order = \
|
||||||
"same-as-spl", &emmc, &sdmmc;
|
"same-as-spl", &emmc, &sdmmc;
|
||||||
|
Reference in New Issue
Block a user