summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel/linux
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-14 20:47:13 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-14 20:47:13 +0300
commit3c441bc9a5e5936747c58f49029edf63d0fe96e3 (patch)
treea1524f48284dc709b5695373b57d28a64cf8db3a /meta-rcar-gen3-adas/recipes-kernel/linux
parentee30ce03c8e4eaf371fe028be7cf4d3bb34a5229 (diff)
V3M: support MSIOF on KF V0
1) support MSIOF2/3/4 on Kingfisher V0 board 2) remove unused pins on V3MSK from dts file
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-kernel/linux')
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch83
1 files changed, 69 insertions, 14 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
index 14a7b80..1825776 100644
--- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
+++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
@@ -33,7 +33,7 @@ Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
.../dts/renesas/legacy/r8a7795-h3ulcb-kf-v1.dts | 465 ++++++
.../dts/renesas/legacy/r8a7796-m3ulcb-kf-v0.dts | 1214 ++++++++++++++
.../dts/renesas/legacy/r8a7796-m3ulcb-kf-v1.dts | 465 ++++++
- .../dts/renesas/legacy/r8a7797-v3msk-kf-v0.dts | 20 +
+ .../dts/renesas/legacy/r8a7797-v3msk-kf-v0.dts | 82 +
.../boot/dts/renesas/legacy/ulcb-kf-cmos.dtsi | 75 +
.../arm64/boot/dts/renesas/legacy/ulcb-kf-rpi.dtsi | 77 +
.../dts/renesas/r8a7795-es1-h3ulcb-had-alfa.dts | 22 +
@@ -58,7 +58,7 @@ Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
arch/arm64/boot/dts/renesas/r8a7797-eagle.dts | 561 +++++++
arch/arm64/boot/dts/renesas/r8a7797-v3msk-kf.dts | 578 +++++++
arch/arm64/boot/dts/renesas/r8a7797-v3msk-vbm.dts | 498 ++++++
- arch/arm64/boot/dts/renesas/r8a7797-v3msk.dts | 320 ++++
+ arch/arm64/boot/dts/renesas/r8a7797-v3msk.dts | 313 ++++
arch/arm64/boot/dts/renesas/ulcb-kf-cn11.dtsi | 518 ++++++
arch/arm64/boot/dts/renesas/ulcb-kf-most.dtsi | 30 +
arch/arm64/boot/dts/renesas/ulcb-kf-sd3.dtsi | 46 +
@@ -66,7 +66,7 @@ Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
arch/arm64/boot/dts/renesas/ulcb-vb-cn12.dtsi | 515 ++++++
arch/arm64/boot/dts/renesas/ulcb-vb.dtsi | 1726 ++++++++++++++++++++
arch/arm64/boot/dts/renesas/ulcb-vbm.dtsi | 557 +++++++
- 41 files changed, 16737 insertions(+)
+ 41 files changed, 16792 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/legacy/Makefile
create mode 100644 arch/arm64/boot/dts/renesas/legacy/r8a7795-es1-h3ulcb-kf-v0.dts
create mode 100644 arch/arm64/boot/dts/renesas/legacy/r8a7795-es1-h3ulcb-kf-v1.dts
@@ -6207,10 +6207,10 @@ index 0000000..637c840
+};
diff --git a/arch/arm64/boot/dts/renesas/legacy/r8a7797-v3msk-kf-v0.dts b/arch/arm64/boot/dts/renesas/legacy/r8a7797-v3msk-kf-v0.dts
new file mode 100644
-index 0000000..cc04429
+index 0000000..674d3bf
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/legacy/r8a7797-v3msk-kf-v0.dts
-@@ -0,0 +1,20 @@
+@@ -0,0 +1,82 @@
+/*
+ * Device Tree Source for the V3MSK Kingfisher V0 board on r8a7797
+ *
@@ -6231,6 +6231,68 @@ index 0000000..cc04429
+&i2cswitch4 {
+ reg = <0x74>;
+};
++
++&msiof1 {
++ pinctrl-0 = <&msiof1_pins>;
++ pinctrl-names = "default";
++ status = "okay";
++
++ spidev@0 {
++ compatible = "renesas,sh-msiof";
++ reg = <0>;
++ spi-max-frequency = <66666666>;
++ spi-cpha;
++ spi-cpol;
++ };
++};
++
++&msiof2 {
++ pinctrl-0 = <&msiof2_pins>;
++ pinctrl-names = "default";
++ status = "okay";
++
++ spidev@0 {
++ compatible = "renesas,sh-msiof";
++ reg = <0>;
++ spi-max-frequency = <66666666>;
++ spi-cpha;
++ spi-cpol;
++ };
++};
++
++&msiof3 {
++ pinctrl-0 = <&msiof3_pins>;
++ pinctrl-names = "default";
++ status = "okay";
++
++ spidev@0 {
++ compatible = "renesas,sh-msiof";
++ reg = <0>;
++ spi-max-frequency = <66666666>;
++ spi-cpha;
++ spi-cpol;
++ };
++};
++
++&pfc {
++ msiof1_pins: spi2 {
++ groups = "msiof1_clk", "msiof1_sync", "msiof1_rxd",
++ "msiof1_txd";
++ function = "msiof1";
++ };
++
++ msiof2_pins: spi3 {
++ groups = "msiof2_clk", "msiof2_sync", "msiof2_rxd",
++ "msiof2_txd";
++ function = "msiof2";
++ };
++
++ msiof3_pins: spi4 {
++ groups = "msiof3_clk", "msiof3_sync", "msiof3_rxd",
++ "msiof3_txd";
++ function = "msiof3";
++ };
++};
diff --git a/arch/arm64/boot/dts/renesas/legacy/ulcb-kf-cmos.dtsi b/arch/arm64/boot/dts/renesas/legacy/ulcb-kf-cmos.dtsi
new file mode 100644
index 0000000..2145f5e
@@ -11808,10 +11870,10 @@ index 0000000..28a0b92
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7797-v3msk.dts b/arch/arm64/boot/dts/renesas/r8a7797-v3msk.dts
new file mode 100644
-index 0000000..bf2501e
+index 0000000..f683ec3
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7797-v3msk.dts
-@@ -0,0 +1,320 @@
+@@ -0,0 +1,313 @@
+/*
+ * Device Tree Source for the V3M Starter Kit board on r8a7797
+ *
@@ -11978,8 +12040,6 @@ index 0000000..bf2501e
+};
+
+&du {
-+ pinctrl-0 = <&du_pins>;
-+ pinctrl-names = "default";
+ status = "okay";
+
+ ports {
@@ -12023,11 +12083,6 @@ index 0000000..bf2501e
+ function = "avb0";
+ };
+
-+ du_pins: du {
-+ groups = "du_rgb666", "du_sync", "du_clk_out_0";
-+ function = "du";
-+ };
-+
+ sdhi2_pins_3v3: sdhi2_3v3 {
+ groups = "mmc_data8", "mmc_ctrl";
+ function = "mmc";