mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
arm64: dts: meson-s4: add pinctrl node
Add pinctrl node for mesonn-s4 Signed-off-by: Qianggui Song <qianggui.song@amlogic.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20220310030410.718-1-qianggui.song@amlogic.com
This commit is contained in:
parent
87a8765724
commit
6383f5a212
1 changed files with 17 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
|
@ -85,6 +86,22 @@
|
|||
#size-cells = <2>;
|
||||
ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
|
||||
|
||||
periphs_pinctrl: pinctrl@4000 {
|
||||
compatible = "amlogic,meson-s4-periphs-pinctrl";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
gpio: bank@4000 {
|
||||
reg = <0x0 0x4000 0x0 0x004c>,
|
||||
<0x0 0x40c0 0x0 0x0220>;
|
||||
reg-names = "mux", "gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-ranges = <&periphs_pinctrl 0 0 82>;
|
||||
};
|
||||
};
|
||||
|
||||
uart_B: serial@7a000 {
|
||||
compatible = "amlogic,meson-s4-uart",
|
||||
"amlogic,meson-ao-uart";
|
||||
|
|
Loading…
Add table
Reference in a new issue