Message ID | 20190309020642.15985-1-marek.vasut@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | 4162aa9db3d44691c6ca67eacfe0099723684506 |
Headers | show |
Series | arm64: dts: renesas: r8a77995: draak: Enable CAN0, CAN1 | expand |
Hi Marek, On Sat, Mar 9, 2019 at 3:06 AM <marek.vasut@gmail.com> wrote: > From: Marek Vasut <marek.vasut+renesas@gmail.com> > > Enable both CAN0 and CAN1 controllers on R8A77995 Draak board, > since they are available on connectors CN43, CN44 respectively. > > Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Thanks for your patch! I assume you have tested this with your CAN-analyzer? Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
On 3/11/19 10:46 AM, Geert Uytterhoeven wrote: > Hi Marek, > > On Sat, Mar 9, 2019 at 3:06 AM <marek.vasut@gmail.com> wrote: >> From: Marek Vasut <marek.vasut+renesas@gmail.com> >> >> Enable both CAN0 and CAN1 controllers on R8A77995 Draak board, >> since they are available on connectors CN43, CN44 respectively. >> >> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> > > Thanks for your patch! > I assume you have tested this with your CAN-analyzer? Nope, only remotely between two CAN ports thus far.
On Mon, Mar 11, 2019 at 02:38:26PM +0100, Marek Vasut wrote: > On 3/11/19 10:46 AM, Geert Uytterhoeven wrote: > > Hi Marek, > > > > On Sat, Mar 9, 2019 at 3:06 AM <marek.vasut@gmail.com> wrote: > >> From: Marek Vasut <marek.vasut+renesas@gmail.com> > >> > >> Enable both CAN0 and CAN1 controllers on R8A77995 Draak board, > >> since they are available on connectors CN43, CN44 respectively. > >> > >> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> > > > > Thanks for your patch! > > I assume you have tested this with your CAN-analyzer? > > Nope, only remotely between two CAN ports thus far. Thanks, applied for v5.2.
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index db2bed1751b8..9a000a75fe8e 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -179,6 +179,18 @@ }; }; +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&can1 { + pinctrl-0 = <&can1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &du { pinctrl-0 = <&du_pins>; pinctrl-names = "default"; @@ -375,6 +387,16 @@ }; }; + can0_pins: can0 { + groups = "can0_data_a"; + function = "can0"; + }; + + can1_pins: can1 { + groups = "can1_data_a"; + function = "can1"; + }; + du_pins: du { groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; function = "du";