[PATCH 6/8] dts: arm64: amlogic: add S7 pinctrl node
Rob Herring
robh at kernel.org
Wed May 14 06:10:22 PDT 2025
On Wed, May 14, 2025 at 03:01:33PM +0800, Xianwei Zhao wrote:
> Add pinctrl device to support Amlogic S7.
>
> Signed-off-by: Xianwei Zhao <xianwei.zhao at amlogic.com>
> ---
> arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi | 81 +++++++++++++++++++++++++++++
> 1 file changed, 81 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi
> index f0c172681bd1..924f10aff269 100644
> --- a/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/amlogic-s7.dtsi
> @@ -6,6 +6,7 @@
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> #include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/pinctrl/amlogic,pinctrl.h>
>
> / {
> cpus {
> @@ -94,6 +95,86 @@ uart_b: serial at 7a000 {
> clock-names = "xtal", "pclk", "baud";
> status = "disabled";
> };
> +
> + periphs_pinctrl: pinctrl {
If you have non-boolean ranges, then this should have a unit address
(@4000).
> + compatible = "amlogic,pinctrl-s7";
> + #address-cells = <2>;
> + #size-cells = <2>;
Doesn't look like you need 64-bits of address and size. 1 cell is
enough.
> + ranges = <0x0 0x0 0x0 0x4000 0x0 0x340>;
More information about the linux-arm-kernel
mailing list