mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
arm: mvebu: Add gpio-ranges into Armada 38x device tree file
This allows U-Boot mvebu-gpio.c driver to switch particular MPP pin into GPIO mode and enable GPIO support. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
35c50a709e
commit
319b62880c
@ -295,6 +295,7 @@
|
|||||||
reg-names = "gpio", "pwm";
|
reg-names = "gpio", "pwm";
|
||||||
ngpios = <32>;
|
ngpios = <32>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
gpio-ranges = <&pinctrl 0 0 32>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
#pwm-cells = <2>;
|
#pwm-cells = <2>;
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
@ -313,6 +314,7 @@
|
|||||||
reg-names = "gpio", "pwm";
|
reg-names = "gpio", "pwm";
|
||||||
ngpios = <28>;
|
ngpios = <28>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
gpio-ranges = <&pinctrl 0 32 28>;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
#pwm-cells = <2>;
|
#pwm-cells = <2>;
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user