Commit c328a66d authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'renesas-arm-dt-for-v6.1-tag2' of...

Merge tag 'renesas-arm-dt-for-v6.1-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/dt

Renesas ARM DT updates for v6.1 (take two)

  - Merge Renesas ARM/ARM64 maintainers entries,
  - CAN support for the RZ/N1 SoC and the RZN1D-DB development board,
  - Watchdog, pin control, I2C (EEPROM), GPIO (LEDS/switches), and
    Ethernet support for the R-Car V4H SoC and the White Hawk
    development board,
  - Miscellaneous fixes and improvements.

* tag 'renesas-arm-dt-for-v6.1-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (26 commits)
  arm64: dts: renesas: Adjust whitespace around '{'
  arm64: dts: renesas: rzg2ul-smarc: Include SoM DTSI into board DTS
  arm64: dts: renesas: rzg2ul-smarc-som: Drop enabling wdt2
  ARM: dts: renesas: Fix USB PHY device and child node names
  arm64: dts: renesas: r8a779a0: Update to R-Car Gen4 compatible values
  arm64: dts: renesas: white-hawk-cpu: Add missing bootargs
  arm64: dts: renesas: spider-cpu: Add missing bootargs
  arm64: dts: renesas: spider: Move aliases and chosen
  arm64: dts: renesas: white-hawk-cpu: Add Ethernet support
  arm64: dts: renesas: white-hawk: Move aliases and chosen
  arm64: dts: renesas: r8a779g0: Add RAVB nodes
  arm64: dts: renesas: white-hawk-cpu: Add push switches
  arm64: dts: renesas: white-hawk-cpu: Add GP LEDs
  arm64: dts: renesas: r8a779g0: Add GPIO nodes
  arm64: dts: renesas: white-hawk: Add Ethernet sub-board
  arm64: dts: renesas: white-hawk: Add CSI/DSI sub-board
  arm64: dts: renesas: white-hawk: Add I2C0 and EEPROMs
  arm64: dts: renesas: r8a779g0: Add I2C nodes
  arm64: dts: renesas: white-hawk-cpu: Add serial port pin control
  arm64: dts: renesas: r8a779g0: Add pinctrl device node
  ...

Link: https://lore.kernel.org/r/cover.1663588776.git.geert+renesas@glider.beSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 9cc2df42 4ebf297b
...@@ -2650,7 +2650,7 @@ F: arch/arm/boot/dts/rtd* ...@@ -2650,7 +2650,7 @@ F: arch/arm/boot/dts/rtd*
F: arch/arm/mach-realtek/ F: arch/arm/mach-realtek/
F: arch/arm64/boot/dts/realtek/ F: arch/arm64/boot/dts/realtek/
ARM/RENESAS ARM64 ARCHITECTURE ARM/RENESAS ARCHITECTURE
M: Geert Uytterhoeven <geert+renesas@glider.be> M: Geert Uytterhoeven <geert+renesas@glider.be>
M: Magnus Damm <magnus.damm@gmail.com> M: Magnus Damm <magnus.damm@gmail.com>
L: linux-renesas-soc@vger.kernel.org L: linux-renesas-soc@vger.kernel.org
...@@ -2661,6 +2661,16 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git nex ...@@ -2661,6 +2661,16 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git nex
F: Documentation/devicetree/bindings/arm/renesas.yaml F: Documentation/devicetree/bindings/arm/renesas.yaml
F: Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml F: Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml
F: Documentation/devicetree/bindings/soc/renesas/ F: Documentation/devicetree/bindings/soc/renesas/
F: arch/arm/boot/dts/emev2*
F: arch/arm/boot/dts/gr-peach*
F: arch/arm/boot/dts/iwg20d-q7*
F: arch/arm/boot/dts/r7s*
F: arch/arm/boot/dts/r8a*
F: arch/arm/boot/dts/r9a*
F: arch/arm/boot/dts/sh*
F: arch/arm/configs/shmobile_defconfig
F: arch/arm/include/debug/renesas-scif.S
F: arch/arm/mach-shmobile/
F: arch/arm64/boot/dts/renesas/ F: arch/arm64/boot/dts/renesas/
F: drivers/soc/renesas/ F: drivers/soc/renesas/
F: include/linux/soc/renesas/ F: include/linux/soc/renesas/
...@@ -2772,29 +2782,6 @@ L: linux-media@vger.kernel.org ...@@ -2772,29 +2782,6 @@ L: linux-media@vger.kernel.org
S: Maintained S: Maintained
F: drivers/media/platform/samsung/s5p-mfc/ F: drivers/media/platform/samsung/s5p-mfc/
ARM/SHMOBILE ARM ARCHITECTURE
M: Geert Uytterhoeven <geert+renesas@glider.be>
M: Magnus Damm <magnus.damm@gmail.com>
L: linux-renesas-soc@vger.kernel.org
S: Supported
Q: http://patchwork.kernel.org/project/linux-renesas-soc/list/
C: irc://irc.libera.chat/renesas-soc
T: git git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git next
F: Documentation/devicetree/bindings/arm/renesas.yaml
F: Documentation/devicetree/bindings/soc/renesas/
F: arch/arm/boot/dts/emev2*
F: arch/arm/boot/dts/gr-peach*
F: arch/arm/boot/dts/iwg20d-q7*
F: arch/arm/boot/dts/r7s*
F: arch/arm/boot/dts/r8a*
F: arch/arm/boot/dts/r9a*
F: arch/arm/boot/dts/sh*
F: arch/arm/configs/shmobile_defconfig
F: arch/arm/include/debug/renesas-scif.S
F: arch/arm/mach-shmobile/
F: drivers/soc/renesas/
F: include/linux/soc/renesas/
ARM/SOCFPGA ARCHITECTURE ARM/SOCFPGA ARCHITECTURE
M: Dinh Nguyen <dinguyen@kernel.org> M: Dinh Nguyen <dinguyen@kernel.org>
S: Maintained S: Maintained
......
...@@ -633,7 +633,7 @@ hsusb: usb@e6590000 { ...@@ -633,7 +633,7 @@ hsusb: usb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy: usb-phy@e6590100 { usbphy: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7742", compatible = "renesas,usb-phy-r8a7742",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -645,11 +645,11 @@ usbphy: usb-phy@e6590100 { ...@@ -645,11 +645,11 @@ usbphy: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
usb2: usb-channel@2 { usb2: usb-phy@2 {
reg = <2>; reg = <2>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -584,7 +584,7 @@ hsusb: usb@e6590000 { ...@@ -584,7 +584,7 @@ hsusb: usb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy: usb-phy@e6590100 { usbphy: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7743", compatible = "renesas,usb-phy-r8a7743",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -596,11 +596,11 @@ usbphy: usb-phy@e6590100 { ...@@ -596,11 +596,11 @@ usbphy: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
usb2: usb-channel@2 { usb2: usb-phy@2 {
reg = <2>; reg = <2>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -584,7 +584,7 @@ hsusb: usb@e6590000 { ...@@ -584,7 +584,7 @@ hsusb: usb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy: usb-phy@e6590100 { usbphy: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7744", compatible = "renesas,usb-phy-r8a7744",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -596,11 +596,11 @@ usbphy: usb-phy@e6590100 { ...@@ -596,11 +596,11 @@ usbphy: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
usb2: usb-channel@2 { usb2: usb-phy@2 {
reg = <2>; reg = <2>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -525,7 +525,7 @@ hsusb: usb@e6590000 { ...@@ -525,7 +525,7 @@ hsusb: usb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy: usb-phy@e6590100 { usbphy: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7745", compatible = "renesas,usb-phy-r8a7745",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -537,11 +537,11 @@ usbphy: usb-phy@e6590100 { ...@@ -537,11 +537,11 @@ usbphy: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
usb2: usb-channel@2 { usb2: usb-phy@2 {
reg = <2>; reg = <2>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -357,7 +357,7 @@ hsusb0: hsusb@e6590000 { ...@@ -357,7 +357,7 @@ hsusb0: hsusb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy0: usb-phy@e6590100 { usbphy0: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a77470", compatible = "renesas,usb-phy-r8a77470",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -369,7 +369,7 @@ usbphy0: usb-phy@e6590100 { ...@@ -369,7 +369,7 @@ usbphy0: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
...@@ -393,7 +393,7 @@ hsusb1: hsusb@e6598000 { ...@@ -393,7 +393,7 @@ hsusb1: hsusb@e6598000 {
status = "disabled"; status = "disabled";
}; };
usbphy1: usb-phy@e6598100 { usbphy1: usb-phy-controller@e6598100 {
compatible = "renesas,usb-phy-r8a77470", compatible = "renesas,usb-phy-r8a77470",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6598100 0 0x100>; reg = <0 0xe6598100 0 0x100>;
...@@ -405,7 +405,7 @@ usbphy1: usb-phy@e6598100 { ...@@ -405,7 +405,7 @@ usbphy1: usb-phy@e6598100 {
resets = <&cpg 706>; resets = <&cpg 706>;
status = "disabled"; status = "disabled";
usb1: usb-channel@0 { usb1: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -654,7 +654,7 @@ hsusb: usb@e6590000 { ...@@ -654,7 +654,7 @@ hsusb: usb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy: usb-phy@e6590100 { usbphy: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7790", compatible = "renesas,usb-phy-r8a7790",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -666,11 +666,11 @@ usbphy: usb-phy@e6590100 { ...@@ -666,11 +666,11 @@ usbphy: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
usb2: usb-channel@2 { usb2: usb-phy@2 {
reg = <2>; reg = <2>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -608,7 +608,7 @@ hsusb: usb@e6590000 { ...@@ -608,7 +608,7 @@ hsusb: usb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy: usb-phy@e6590100 { usbphy: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7791", compatible = "renesas,usb-phy-r8a7791",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -620,11 +620,11 @@ usbphy: usb-phy@e6590100 { ...@@ -620,11 +620,11 @@ usbphy: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
usb2: usb-channel@2 { usb2: usb-phy@2 {
reg = <2>; reg = <2>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -506,7 +506,7 @@ hsusb: usb@e6590000 { ...@@ -506,7 +506,7 @@ hsusb: usb@e6590000 {
status = "disabled"; status = "disabled";
}; };
usbphy: usb-phy@e6590100 { usbphy: usb-phy-controller@e6590100 {
compatible = "renesas,usb-phy-r8a7794", compatible = "renesas,usb-phy-r8a7794",
"renesas,rcar-gen2-usb-phy"; "renesas,rcar-gen2-usb-phy";
reg = <0 0xe6590100 0 0x100>; reg = <0 0xe6590100 0 0x100>;
...@@ -518,11 +518,11 @@ usbphy: usb-phy@e6590100 { ...@@ -518,11 +518,11 @@ usbphy: usb-phy@e6590100 {
resets = <&cpg 704>; resets = <&cpg 704>;
status = "disabled"; status = "disabled";
usb0: usb-channel@0 { usb0: usb-phy@0 {
reg = <0>; reg = <0>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
usb2: usb-channel@2 { usb2: usb-phy@2 {
reg = <2>; reg = <2>;
#phy-cells = <1>; #phy-cells = <1>;
}; };
......
...@@ -26,6 +26,22 @@ aliases { ...@@ -26,6 +26,22 @@ aliases {
}; };
}; };
&can0 {
pinctrl-0 = <&pins_can0>;
pinctrl-names = "default";
/* Assuming CN10/CN11 are wired for CAN1 */
status = "okay";
};
&can1 {
pinctrl-0 = <&pins_can1>;
pinctrl-names = "default";
/* Please only enable can0 or can1, depending on CN10/CN11 */
/* status = "okay"; */
};
&eth_miic { &eth_miic {
status = "okay"; status = "okay";
renesas,miic-switch-portin = <MIIC_GMAC2_PORT>; renesas,miic-switch-portin = <MIIC_GMAC2_PORT>;
...@@ -52,6 +68,18 @@ &mii_conv5 { ...@@ -52,6 +68,18 @@ &mii_conv5 {
}; };
&pinctrl{ &pinctrl{
pins_can0: pins_can0 {
pinmux = <RZN1_PINMUX(162, RZN1_FUNC_CAN)>, /* CAN0_TXD */
<RZN1_PINMUX(163, RZN1_FUNC_CAN)>; /* CAN0_RXD */
drive-strength = <6>;
};
pins_can1: pins_can1 {
pinmux = <RZN1_PINMUX(109, RZN1_FUNC_CAN)>, /* CAN1_TXD */
<RZN1_PINMUX(110, RZN1_FUNC_CAN)>; /* CAN1_RXD */
drive-strength = <6>;
};
pins_eth3: pins_eth3 { pins_eth3: pins_eth3 {
pinmux = <RZN1_PINMUX(36, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)>, pinmux = <RZN1_PINMUX(36, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)>,
<RZN1_PINMUX(37, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)>, <RZN1_PINMUX(37, RZN1_FUNC_CLK_ETH_MII_RGMII_RMII)>,
......
...@@ -423,6 +423,26 @@ gic: interrupt-controller@44101000 { ...@@ -423,6 +423,26 @@ gic: interrupt-controller@44101000 {
interrupts = interrupts =
<GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
}; };
can0: can@52104000 {
compatible = "renesas,r9a06g032-sja1000","renesas,rzn1-sja1000";
reg = <0x52104000 0x800>;
reg-io-width = <4>;
interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sysctrl R9A06G032_HCLK_CAN0>;
power-domains = <&sysctrl>;
status = "disabled";
};
can1: can@52105000 {
compatible = "renesas,r9a06g032-sja1000", "renesas,rzn1-sja1000";
reg = <0x52105000 0x800>;
reg-io-width = <4>;
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sysctrl R9A06G032_HCLK_CAN1>;
power-domains = <&sysctrl>;
status = "disabled";
};
}; };
timer { timer {
......
...@@ -247,7 +247,7 @@ gpio9: gpio@e6069980 { ...@@ -247,7 +247,7 @@ gpio9: gpio@e6069980 {
cmt0: timer@e60f0000 { cmt0: timer@e60f0000 {
compatible = "renesas,r8a779a0-cmt0", compatible = "renesas,r8a779a0-cmt0",
"renesas,rcar-gen3-cmt0"; "renesas,rcar-gen4-cmt0";
reg = <0 0xe60f0000 0 0x1004>; reg = <0 0xe60f0000 0 0x1004>;
interrupts = <GIC_SPI 500 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 500 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 501 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 501 IRQ_TYPE_LEVEL_HIGH>;
...@@ -260,7 +260,7 @@ cmt0: timer@e60f0000 { ...@@ -260,7 +260,7 @@ cmt0: timer@e60f0000 {
cmt1: timer@e6130000 { cmt1: timer@e6130000 {
compatible = "renesas,r8a779a0-cmt1", compatible = "renesas,r8a779a0-cmt1",
"renesas,rcar-gen3-cmt1"; "renesas,rcar-gen4-cmt1";
reg = <0 0xe6130000 0 0x1004>; reg = <0 0xe6130000 0 0x1004>;
interrupts = <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>,
...@@ -279,7 +279,7 @@ cmt1: timer@e6130000 { ...@@ -279,7 +279,7 @@ cmt1: timer@e6130000 {
cmt2: timer@e6140000 { cmt2: timer@e6140000 {
compatible = "renesas,r8a779a0-cmt1", compatible = "renesas,r8a779a0-cmt1",
"renesas,rcar-gen3-cmt1"; "renesas,rcar-gen4-cmt1";
reg = <0 0xe6140000 0 0x1004>; reg = <0 0xe6140000 0 0x1004>;
interrupts = <GIC_SPI 456 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 456 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 457 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 457 IRQ_TYPE_LEVEL_HIGH>,
...@@ -298,7 +298,7 @@ cmt2: timer@e6140000 { ...@@ -298,7 +298,7 @@ cmt2: timer@e6140000 {
cmt3: timer@e6148000 { cmt3: timer@e6148000 {
compatible = "renesas,r8a779a0-cmt1", compatible = "renesas,r8a779a0-cmt1",
"renesas,rcar-gen3-cmt1"; "renesas,rcar-gen4-cmt1";
reg = <0 0xe6148000 0 0x1004>; reg = <0 0xe6148000 0 0x1004>;
interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
...@@ -2065,7 +2065,7 @@ dmac2: dma-controller@e7351000 { ...@@ -2065,7 +2065,7 @@ dmac2: dma-controller@e7351000 {
mmc0: mmc@ee140000 { mmc0: mmc@ee140000 {
compatible = "renesas,sdhi-r8a779a0", compatible = "renesas,sdhi-r8a779a0",
"renesas,rcar-gen3-sdhi"; "renesas,rcar-gen4-sdhi";
reg = <0 0xee140000 0 0x2000>; reg = <0 0xee140000 0 0x2000>;
interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 706>, <&cpg CPG_CORE R8A779A0_CLK_SD0H>; clocks = <&cpg CPG_MOD 706>, <&cpg CPG_CORE R8A779A0_CLK_SD0H>;
......
...@@ -11,6 +11,16 @@ / { ...@@ -11,6 +11,16 @@ / {
model = "Renesas Spider CPU board"; model = "Renesas Spider CPU board";
compatible = "renesas,spider-cpu", "renesas,r8a779f0"; compatible = "renesas,spider-cpu", "renesas,r8a779f0";
aliases {
serial0 = &scif3;
serial1 = &scif0;
};
chosen {
bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
stdout-path = "serial0:115200n8";
};
memory@48000000 { memory@48000000 {
device_type = "memory"; device_type = "memory";
/* first 128MB is reserved for secure area. */ /* first 128MB is reserved for secure area. */
......
...@@ -12,15 +12,6 @@ ...@@ -12,15 +12,6 @@
/ { / {
model = "Renesas Spider CPU and Breakout boards based on r8a779f0"; model = "Renesas Spider CPU and Breakout boards based on r8a779f0";
compatible = "renesas,spider-breakout", "renesas,spider-cpu", "renesas,r8a779f0"; compatible = "renesas,spider-breakout", "renesas,spider-cpu", "renesas,r8a779f0";
aliases {
serial0 = &scif3;
serial1 = &scif0;
};
chosen {
stdout-path = "serial0:115200n8";
};
}; };
&i2c4 { &i2c4 {
......
...@@ -7,10 +7,80 @@ ...@@ -7,10 +7,80 @@
#include "r8a779g0.dtsi" #include "r8a779g0.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ { / {
model = "Renesas White Hawk CPU board"; model = "Renesas White Hawk CPU board";
compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0"; compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0";
aliases {
ethernet0 = &avb0;
serial0 = &hscif0;
};
chosen {
bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
stdout-path = "serial0:921600n8";
};
keys {
compatible = "gpio-keys";
pinctrl-0 = <&keys_pins>;
pinctrl-names = "default";
key-1 {
gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_1>;
label = "SW47";
wakeup-source;
debounce-interval = <20>;
};
key-2 {
gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
linux,code = <KEY_2>;
label = "SW48";
wakeup-source;
debounce-interval = <20>;
};
key-3 {
gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
linux,code = <KEY_3>;
label = "SW49";
wakeup-source;
debounce-interval = <20>;
};
};
leds {
compatible = "gpio-leds";
led-1 {
gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_INDICATOR;
function-enumerator = <1>;
};
led-2 {
gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_INDICATOR;
function-enumerator = <2>;
};
led-3 {
gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_INDICATOR;
function-enumerator = <3>;
};
};
memory@48000000 { memory@48000000 {
device_type = "memory"; device_type = "memory";
/* first 128MB is reserved for secure area. */ /* first 128MB is reserved for secure area. */
...@@ -28,6 +98,24 @@ memory@600000000 { ...@@ -28,6 +98,24 @@ memory@600000000 {
}; };
}; };
&avb0 {
pinctrl-0 = <&avb0_pins>;
pinctrl-names = "default";
phy-handle = <&phy0>;
tx-internal-delay-ps = <2000>;
status = "okay";
phy0: ethernet-phy@0 {
compatible = "ethernet-phy-id0022.1622",
"ethernet-phy-ieee802.3-c22";
rxc-skew-ps = <1500>;
reg = <0>;
interrupt-parent = <&gpio7>;
interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio7 10 GPIO_ACTIVE_LOW>;
};
};
&extal_clk { &extal_clk {
clock-frequency = <16666666>; clock-frequency = <16666666>;
}; };
...@@ -40,6 +128,69 @@ &hscif0 { ...@@ -40,6 +128,69 @@ &hscif0 {
status = "okay"; status = "okay";
}; };
&i2c0 {
pinctrl-0 = <&i2c0_pins>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <400000>;
eeprom@50 {
compatible = "rohm,br24g01", "atmel,24c01";
label = "cpu-board";
reg = <0x50>;
pagesize = <8>;
};
};
&pfc {
pinctrl-0 = <&scif_clk_pins>;
pinctrl-names = "default";
avb0_pins: avb0 {
mux {
groups = "avb0_link", "avb0_mdio", "avb0_rgmii",
"avb0_txcrefclk";
function = "avb0";
};
pins_mdio {
groups = "avb0_mdio";
drive-strength = <21>;
};
pins_mii {
groups = "avb0_rgmii";
drive-strength = <21>;
};
};
hscif0_pins: hscif0 {
groups = "hscif0_data";
function = "hscif0";
};
i2c0_pins: i2c0 {
groups = "i2c0";
function = "i2c0";
};
keys_pins: keys {
pins = "GP_5_0", "GP_5_1", "GP_5_2";
bias-pull-up;
};
scif_clk_pins: scif_clk {
groups = "scif_clk";
function = "scif_clk";
};
};
&scif_clk { &scif_clk {
clock-frequency = <24000000>; clock-frequency = <24000000>;
}; };
&rwdt {
timeout-sec = <60>;
status = "okay";
};
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/*
* Device Tree Source for the R-Car V4H White Hawk CSI/DSI sub-board
*
* Copyright (C) 2022 Glider bv
*/
&i2c0 {
eeprom@52 {
compatible = "rohm,br24g01", "atmel,24c01";
label = "csi-dsi-sub-board-id";
reg = <0x52>;
pagesize = <8>;
};
};
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/*
* Device Tree Source for the R-Car V4H White Hawk RAVB/Ethernet(1000Base-T1)
* sub-board
*
* Copyright (C) 2022 Glider bv
*/
&i2c0 {
eeprom@53 {
compatible = "rohm,br24g01", "atmel,24c01";
label = "ethernet-sub-board-id";
reg = <0x53>;
pagesize = <8>;
};
};
...@@ -7,16 +7,19 @@ ...@@ -7,16 +7,19 @@
/dts-v1/; /dts-v1/;
#include "r8a779g0-white-hawk-cpu.dtsi" #include "r8a779g0-white-hawk-cpu.dtsi"
#include "r8a779g0-white-hawk-csi-dsi.dtsi"
#include "r8a779g0-white-hawk-ethernet.dtsi"
/ { / {
model = "Renesas White Hawk CPU and Breakout boards based on r8a779g0"; model = "Renesas White Hawk CPU and Breakout boards based on r8a779g0";
compatible = "renesas,white-hawk-breakout", "renesas,white-hawk-cpu", "renesas,r8a779g0"; compatible = "renesas,white-hawk-breakout", "renesas,white-hawk-cpu", "renesas,r8a779g0";
};
aliases { &i2c0 {
serial0 = &hscif0; eeprom@51 {
}; compatible = "rohm,br24g01", "atmel,24c01";
label = "breakout-board";
chosen { reg = <0x51>;
stdout-path = "serial0:921600n8"; pagesize = <8>;
}; };
}; };
This diff is collapsed.
...@@ -619,7 +619,7 @@ gic: interrupt-controller@11900000 { ...@@ -619,7 +619,7 @@ gic: interrupt-controller@11900000 {
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
}; };
sdhi0: mmc@11c00000 { sdhi0: mmc@11c00000 {
compatible = "renesas,sdhi-r9a07g043", compatible = "renesas,sdhi-r9a07g043",
"renesas,rcar-gen3-sdhi"; "renesas,rcar-gen3-sdhi";
reg = <0x0 0x11c00000 0 0x10000>; reg = <0x0 0x11c00000 0 0x10000>;
......
...@@ -6,7 +6,19 @@ ...@@ -6,7 +6,19 @@
*/ */
/dts-v1/; /dts-v1/;
/*
* DIP-Switch SW1 setting
* 1 : High; 0: Low
* SW1-2 : SW_SD0_DEV_SEL (0: uSD; 1: eMMC)
* SW1-3 : SW_ET0_EN_N (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1)
* Please change below macros according to SW1 setting on the SoM
*/
#define SW_SW0_DEV_SEL 1
#define SW_ET0_EN_N 1
#include "r9a07g043.dtsi" #include "r9a07g043.dtsi"
#include "rzg2ul-smarc-som.dtsi"
#include "rzg2ul-smarc.dtsi" #include "rzg2ul-smarc.dtsi"
/ { / {
......
...@@ -778,7 +778,7 @@ gic: interrupt-controller@11900000 { ...@@ -778,7 +778,7 @@ gic: interrupt-controller@11900000 {
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
}; };
sdhi0: mmc@11c00000 { sdhi0: mmc@11c00000 {
compatible = "renesas,sdhi-r9a07g044", compatible = "renesas,sdhi-r9a07g044",
"renesas,rcar-gen3-sdhi"; "renesas,rcar-gen3-sdhi";
reg = <0x0 0x11c00000 0 0x10000>; reg = <0x0 0x11c00000 0 0x10000>;
......
...@@ -784,7 +784,7 @@ gic: interrupt-controller@11900000 { ...@@ -784,7 +784,7 @@ gic: interrupt-controller@11900000 {
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
}; };
sdhi0: mmc@11c00000 { sdhi0: mmc@11c00000 {
compatible = "renesas,sdhi-r9a07g054", compatible = "renesas,sdhi-r9a07g054",
"renesas,rcar-gen3-sdhi"; "renesas,rcar-gen3-sdhi";
reg = <0x0 0x11c00000 0 0x10000>; reg = <0x0 0x11c00000 0 0x10000>;
......
...@@ -263,8 +263,3 @@ &wdt0 { ...@@ -263,8 +263,3 @@ &wdt0 {
status = "okay"; status = "okay";
timeout-sec = <60>; timeout-sec = <60>;
}; };
&wdt2 {
status = "okay";
timeout-sec = <60>;
};
...@@ -5,17 +5,6 @@ ...@@ -5,17 +5,6 @@
* Copyright (C) 2022 Renesas Electronics Corp. * Copyright (C) 2022 Renesas Electronics Corp.
*/ */
/*
* DIP-Switch SW1 setting
* 1 : High; 0: Low
* SW1-2 : SW_SD0_DEV_SEL (0: uSD; 1: eMMC)
* SW1-3 : SW_ET0_EN_N (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1)
* Please change below macros according to SW1 setting
*/
#define SW_SW0_DEV_SEL 1
#define SW_ET0_EN_N 1
#include "rzg2ul-smarc-som.dtsi"
#include "rzg2ul-smarc-pinfunction.dtsi" #include "rzg2ul-smarc-pinfunction.dtsi"
#include "rz-smarc-common.dtsi" #include "rz-smarc-common.dtsi"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment