Skip to content

Commit 21ab703

Browse files
author
Dinh Nguyen
committed
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 <[email protected]> --- v2: no changes
1 parent 2f802af commit 21ab703

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,22 @@
353353
reset-names = "dma", "dma-ocp";
354354
};
355355

356+
pinctrl0: pinctrl@ffd13000 {
357+
compatible = "pinctrl-single";
358+
reg = <0xffd13000 0xA0>;
359+
#pinctrl-cells = <1>;
360+
pinctrl-single,register-width = <32>;
361+
pinctrl-single,function-mask = <0x0000000f>;
362+
};
363+
364+
pinctrl1: pinctrl@ffd13100 {
365+
compatible = "pinctrl-single";
366+
reg = <0xffd13100 0x20>;
367+
#pinctrl-cells = <1>;
368+
pinctrl-single,register-width = <32>;
369+
pinctrl-single,function-mask = <0x0000000f>;
370+
};
371+
356372
rst: rstmgr@ffd11000 {
357373
#reset-cells = <1>;
358374
compatible = "altr,stratix10-rst-mgr";

arch/arm64/boot/dts/intel/socfpga_agilex.dtsi

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,21 @@
357357
clock-names = "apb_pclk";
358358
};
359359

360+
pinctrl0: pinctrl@ffd13000 {
361+
compatible = "pinctrl-single";
362+
#pinctrl-cells = <1>;
363+
reg = <0xffd13000 0xa0>;
364+
pinctrl-single,register-width = <32>;
365+
pinctrl-single,function-mask = <0x0000000f>;
366+
};
367+
368+
pinctrl1: pinconf@ffd13100 {
369+
compatible = "pinctrl-single";
370+
#pinctrl-cells = <1>;
371+
reg = <0xffd13100 0x20>;
372+
pinctrl-single,register-width = <32>;
373+
};
374+
360375
rst: rstmgr@ffd11000 {
361376
#reset-cells = <1>;
362377
compatible = "altr,stratix10-rst-mgr";

0 commit comments

Comments
 (0)