arm64: dts: add pinctrl-single property for Stratix10/Agilex

The Stratix10/Agilex has a pin control IP that can make use of the
pinctrl-single driver.

Add the pinctrl-single dts property for the Stratix10/Agilex
platforms.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
v2: no changes
This commit is contained in:
Dinh Nguyen
2023-01-23 12:12:38 -06:00
parent 2f802af21f
commit 21ab7031cb
2 changed files with 31 additions and 0 deletions

View File

@@ -353,6 +353,22 @@ pdma: dma-controller@ffda0000 {
reset-names = "dma", "dma-ocp";
};
pinctrl0: pinctrl@ffd13000 {
compatible = "pinctrl-single";
reg = <0xffd13000 0xA0>;
#pinctrl-cells = <1>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0x0000000f>;
};
pinctrl1: pinctrl@ffd13100 {
compatible = "pinctrl-single";
reg = <0xffd13100 0x20>;
#pinctrl-cells = <1>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0x0000000f>;
};
rst: rstmgr@ffd11000 {
#reset-cells = <1>;
compatible = "altr,stratix10-rst-mgr";

View File

@@ -357,6 +357,21 @@ pdma: dma-controller@ffda0000 {
clock-names = "apb_pclk";
};
pinctrl0: pinctrl@ffd13000 {
compatible = "pinctrl-single";
#pinctrl-cells = <1>;
reg = <0xffd13000 0xa0>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0x0000000f>;
};
pinctrl1: pinconf@ffd13100 {
compatible = "pinctrl-single";
#pinctrl-cells = <1>;
reg = <0xffd13100 0x20>;
pinctrl-single,register-width = <32>;
};
rst: rstmgr@ffd11000 {
#reset-cells = <1>;
compatible = "altr,stratix10-rst-mgr";