Messages in this thread | | | Date | Sat, 5 Aug 2023 20:42:59 +1000 | From | John Watts <> | Subject | Re: [PATCH] riscv: dts: allwinner: d1: Specify default CAN pins |
| |
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@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.
| |