mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
arm: sunxi: Add clock to pinctrl node
The port controller needs the apb0_pio clock enabled to be able to work. This commit declares that on the device tree. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
parent
9ff49ec75e
commit
36386d6e54
2 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ soc {
|
||||||
pio: pinctrl@01c20800 {
|
pio: pinctrl@01c20800 {
|
||||||
compatible = "allwinner,sun4i-a10-pinctrl";
|
compatible = "allwinner,sun4i-a10-pinctrl";
|
||||||
reg = <0x01c20800 0x400>;
|
reg = <0x01c20800 0x400>;
|
||||||
|
clocks = <&apb0_gates 5>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
|
@ -22,6 +22,7 @@ soc {
|
||||||
pio: pinctrl@01c20800 {
|
pio: pinctrl@01c20800 {
|
||||||
compatible = "allwinner,sun5i-a13-pinctrl";
|
compatible = "allwinner,sun5i-a13-pinctrl";
|
||||||
reg = <0x01c20800 0x400>;
|
reg = <0x01c20800 0x400>;
|
||||||
|
clocks = <&apb0_gates 5>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
Loading…
Reference in a new issue