mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-15 07:43:07 +00:00
e16be4dd8b
The gpio node names are made generic, but without gpio bank ID. Add gpio-ranges to rk3188-u-boot.dtsi for now till a better method is found. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
33 lines
507 B
Text
33 lines
507 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
|
|
*/
|
|
|
|
#include "rockchip-u-boot.dtsi"
|
|
#include "rk3xxx-u-boot.dtsi"
|
|
|
|
&global_timer {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio0 {
|
|
compatible = "rockchip,gpio-bank";
|
|
gpio-ranges = <&pinctrl 0 0 32>;
|
|
};
|
|
|
|
&gpio1 {
|
|
gpio-ranges = <&pinctrl 0 32 32>;
|
|
};
|
|
|
|
&gpio2 {
|
|
gpio-ranges = <&pinctrl 0 64 32>;
|
|
};
|
|
|
|
&gpio3 {
|
|
gpio-ranges = <&pinctrl 0 96 32>;
|
|
};
|
|
|
|
&pmu {
|
|
compatible = "rockchip,rk3188-pmu", "syscon", "simple-mfd";
|
|
};
|
|
|