Commit af911564 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'renesas-arm-dt-for-v5.12-tag2' of...

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

Renesas ARM DT updates for v5.12 (take two)

  - Increase support (SPI, I2C, Ethernet, Serial, MMC) for the R-Car V3U
    SoC on the Renesas Falcon board,
  - Disable SD functions for plain eMMC,
  - A minor fix.

* tag 'renesas-arm-dt-for-v5.12-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: beacon: Fix EEPROM compatible value
  arm64: dts: renesas: falcon: Enable MMC
  arm64: dts: renesas: r8a779a0: Add MMC node
  arm64: dts: renesas: r8a779a0: Add HSCIF support
  arm64: dts: renesas: falcon: Complete SCIF0 nodes
  arm64: dts: renesas: r8a779a0: Add & update SCIF nodes
  arm64: dts: renesas: falcon: Add Ethernet-AVB0 support
  arm64: dts: renesas: r8a779a0: Add Ethernet-AVB support
  arm64: dts: renesas: falcon: Add I2C0,1,6 support
  arm64: dts: renesas: r8a779a0: Add I2C nodes
  arm64: dts: renesas: Disable SD functions for plain eMMC
  arm64: dts: renesas: r8a779a0: Add MSIOF device nodes

Link: https://lore.kernel.org/r/20210129090815.2552425-2-geert+renesas@glider.beSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 0b9c5cdd 74477936
...@@ -144,7 +144,7 @@ pca9654_lte: gpio@21 { ...@@ -144,7 +144,7 @@ pca9654_lte: gpio@21 {
}; };
eeprom@50 { eeprom@50 {
compatible = "microchip,at24c64", "atmel,24c64"; compatible = "microchip,24c64", "atmel,24c64";
pagesize = <32>; pagesize = <32>;
read-only; /* Manufacturing EEPROM programmed at factory */ read-only; /* Manufacturing EEPROM programmed at factory */
reg = <0x50>; reg = <0x50>;
...@@ -312,6 +312,8 @@ &sdhi3 { ...@@ -312,6 +312,8 @@ &sdhi3 {
vqmmc-supply = <&reg_1p8v>; vqmmc-supply = <&reg_1p8v>;
bus-width = <8>; bus-width = <8>;
mmc-hs200-1_8v; mmc-hs200-1_8v;
no-sd;
no-sdio;
non-removable; non-removable;
fixed-emmc-driver-type = <1>; fixed-emmc-driver-type = <1>;
status = "okay"; status = "okay";
......
...@@ -328,6 +328,8 @@ &sdhi3 { ...@@ -328,6 +328,8 @@ &sdhi3 {
vqmmc-supply = <&reg_1p8v>; vqmmc-supply = <&reg_1p8v>;
bus-width = <8>; bus-width = <8>;
mmc-hs200-1_8v; mmc-hs200-1_8v;
no-sd;
no-sdio;
non-removable; non-removable;
fixed-emmc-driver-type = <1>; fixed-emmc-driver-type = <1>;
status = "okay"; status = "okay";
......
...@@ -217,6 +217,8 @@ &mmc0 { ...@@ -217,6 +217,8 @@ &mmc0 {
vqmmc-supply = <&vddq_vin01>; vqmmc-supply = <&vddq_vin01>;
mmc-hs200-1_8v; mmc-hs200-1_8v;
bus-width = <8>; bus-width = <8>;
no-sd;
no-sdio;
non-removable; non-removable;
status = "okay"; status = "okay";
}; };
......
...@@ -712,6 +712,8 @@ &sdhi3 { ...@@ -712,6 +712,8 @@ &sdhi3 {
mmc-hs200-1_8v; mmc-hs200-1_8v;
mmc-hs400-1_8v; mmc-hs400-1_8v;
bus-width = <8>; bus-width = <8>;
no-sd;
no-sdio;
non-removable; non-removable;
full-pwr-cycle-in-suspend; full-pwr-cycle-in-suspend;
status = "okay"; status = "okay";
......
...@@ -496,6 +496,8 @@ &sdhi2 { ...@@ -496,6 +496,8 @@ &sdhi2 {
vqmmc-supply = <&reg_1p8v>; vqmmc-supply = <&reg_1p8v>;
bus-width = <8>; bus-width = <8>;
mmc-hs200-1_8v; mmc-hs200-1_8v;
no-sd;
no-sdio;
non-removable; non-removable;
status = "okay"; status = "okay";
}; };
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
* Copyright (C) 2020 Renesas Electronics Corp. * Copyright (C) 2020 Renesas Electronics Corp.
*/ */
#include <dt-bindings/gpio/gpio.h>
#include "r8a779a0.dtsi" #include "r8a779a0.dtsi"
/ { / {
...@@ -31,6 +32,40 @@ memory@700000000 { ...@@ -31,6 +32,40 @@ memory@700000000 {
device_type = "memory"; device_type = "memory";
reg = <0x7 0x00000000 0x0 0x80000000>; reg = <0x7 0x00000000 0x0 0x80000000>;
}; };
reg_1p8v: regulator-1p8v {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed";
regulator-name = "fixed-3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
};
&avb0 {
pinctrl-0 = <&avb0_pins>;
pinctrl-names = "default";
phy-handle = <&phy0>;
tx-internal-delay-ps = <2000>;
status = "okay";
phy0: ethernet-phy@0 {
rxc-skew-ps = <1500>;
reg = <0>;
interrupt-parent = <&gpio4>;
interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
};
}; };
&extal_clk { &extal_clk {
...@@ -41,6 +76,109 @@ &extalr_clk { ...@@ -41,6 +76,109 @@ &extalr_clk {
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
&i2c0 {
pinctrl-0 = <&i2c0_pins>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <400000>;
};
&i2c1 {
pinctrl-0 = <&i2c1_pins>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <400000>;
};
&i2c6 {
pinctrl-0 = <&i2c6_pins>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <400000>;
};
&mmc0 {
pinctrl-0 = <&mmc_pins>;
pinctrl-1 = <&mmc_pins>;
pinctrl-names = "default", "state_uhs";
vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&reg_1p8v>;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
bus-width = <8>;
no-sd;
no-sdio;
non-removable;
full-pwr-cycle-in-suspend;
status = "okay";
};
&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>;
};
};
i2c0_pins: i2c0 {
groups = "i2c0";
function = "i2c0";
};
i2c1_pins: i2c1 {
groups = "i2c1";
function = "i2c1";
};
i2c6_pins: i2c6 {
groups = "i2c6";
function = "i2c6";
};
mmc_pins: mmc {
groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
function = "mmc";
power-source = <1800>;
};
scif0_pins: scif0 {
groups = "scif0_data", "scif0_ctrl";
function = "scif0";
};
scif_clk_pins: scif_clk {
groups = "scif_clk";
function = "scif_clk";
};
};
&scif0 { &scif0 {
pinctrl-0 = <&scif0_pins>;
pinctrl-names = "default";
uart-has-rtscts;
status = "okay"; status = "okay";
}; };
&scif_clk {
clock-frequency = <24000000>;
};
...@@ -13,6 +13,7 @@ / { ...@@ -13,6 +13,7 @@ / {
compatible = "renesas,falcon-breakout", "renesas,falcon-cpu", "renesas,r8a779a0"; compatible = "renesas,falcon-breakout", "renesas,falcon-cpu", "renesas,r8a779a0";
aliases { aliases {
ethernet0 = &avb0;
serial0 = &scif0; serial0 = &scif0;
}; };
......
This diff is collapsed.
...@@ -831,6 +831,8 @@ &sdhi2 { ...@@ -831,6 +831,8 @@ &sdhi2 {
bus-width = <8>; bus-width = <8>;
mmc-hs200-1_8v; mmc-hs200-1_8v;
mmc-hs400-1_8v; mmc-hs400-1_8v;
no-sd;
no-sdio;
non-removable; non-removable;
fixed-emmc-driver-type = <1>; fixed-emmc-driver-type = <1>;
full-pwr-cycle-in-suspend; full-pwr-cycle-in-suspend;
......
...@@ -468,6 +468,8 @@ &sdhi2 { ...@@ -468,6 +468,8 @@ &sdhi2 {
bus-width = <8>; bus-width = <8>;
mmc-hs200-1_8v; mmc-hs200-1_8v;
mmc-hs400-1_8v; mmc-hs400-1_8v;
no-sd;
no-sdio;
non-removable; non-removable;
full-pwr-cycle-in-suspend; full-pwr-cycle-in-suspend;
status = "okay"; status = "okay";
......
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