[PATCH] riscv: dts: allwinner: d1: Specify default CAN pins

John Watts contact at jookia.org
Sat Aug 5 03:42:59 PDT 2023


On Fri, Aug 04, 2023 at 04:39:41PM +0200, Jernej Škrabec wrote:
> If you don't mind, please do.

Just to clarify, something like this:

                can0: can at 2504000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&can0_pins>;
                        compatible = "allwinner,sun20i-d1-can";
                        reg = <0x02504000 0x400>;
                        interrupts = <SOC_PERIPHERAL_IRQ(21) IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&ccu CLK_BUS_CAN0>;
                        resets = <&ccu RST_BUS_CAN0>;
                        status = "disabled";
                };

I couldn't find any dtsi files that put pinctrl stuff at the top.

John.



More information about the linux-riscv mailing list