Adam Ford | 5902879 | 2020-06-30 09:30:11 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright 2020, Compass Electronics Group, LLC |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "r8a774a1.dtsi" |
| 9 | #include "beacon-renesom-som.dtsi" |
| 10 | #include "beacon-renesom-baseboard.dtsi" |
| 11 | |
| 12 | / { |
Adam Ford | b2c86f5 | 2021-02-03 06:57:16 -0600 | [diff] [blame] | 13 | model = "Beacon EmbeddedWorks RZ/G2M Development Kit"; |
| 14 | compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1"; |
| 15 | |
| 16 | aliases { |
Marek Vasut | 71d2a5e | 2023-01-26 21:01:32 +0100 | [diff] [blame] | 17 | i2c0 = &i2c0; |
| 18 | i2c1 = &i2c1; |
| 19 | i2c2 = &i2c2; |
| 20 | i2c3 = &i2c3; |
| 21 | i2c4 = &i2c4; |
| 22 | i2c5 = &i2c5; |
| 23 | i2c6 = &i2c6; |
| 24 | i2c7 = &iic_pmic; |
Adam Ford | b2c86f5 | 2021-02-03 06:57:16 -0600 | [diff] [blame] | 25 | serial0 = &scif2; |
| 26 | serial1 = &hscif0; |
| 27 | serial2 = &hscif1; |
| 28 | serial3 = &scif0; |
| 29 | serial4 = &hscif2; |
| 30 | serial5 = &scif5; |
| 31 | ethernet0 = &avb; |
Adam Ford | 1eaf61c | 2021-12-06 10:29:27 -0600 | [diff] [blame] | 32 | mmc0 = &sdhi3; |
| 33 | mmc1 = &sdhi0; |
| 34 | mmc2 = &sdhi2; |
Adam Ford | b2c86f5 | 2021-02-03 06:57:16 -0600 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | chosen { |
| 38 | stdout-path = "serial0:115200n8"; |
| 39 | }; |
| 40 | |
| 41 | memory@600000000 { |
| 42 | device_type = "memory"; |
| 43 | reg = <0x6 0x00000000 0x0 0x80000000>; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | &du { |
| 48 | pinctrl-0 = <&du_pins>; |
| 49 | pinctrl-names = "default"; |
| 50 | status = "okay"; |
| 51 | |
| 52 | clocks = <&cpg CPG_MOD 724>, |
| 53 | <&cpg CPG_MOD 723>, |
| 54 | <&cpg CPG_MOD 722>, |
| 55 | <&versaclock5 1>, |
| 56 | <&x302_clk>, |
| 57 | <&versaclock5 2>; |
| 58 | clock-names = "du.0", "du.1", "du.2", |
| 59 | "dclkin.0", "dclkin.1", "dclkin.2"; |
| 60 | }; |
| 61 | |
| 62 | /* Reference versaclock instead of audio_clk_a */ |
| 63 | &rcar_sound { |
| 64 | clocks = <&cpg CPG_MOD 1005>, |
| 65 | <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, |
| 66 | <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, |
| 67 | <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, |
| 68 | <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, |
| 69 | <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, |
| 70 | <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, |
| 71 | <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, |
| 72 | <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, |
| 73 | <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, |
| 74 | <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, |
| 75 | <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, |
| 76 | <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, |
| 77 | <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, |
| 78 | <&versaclock6_bb 4>, <&audio_clk_b>, |
| 79 | <&audio_clk_c>, |
| 80 | <&cpg CPG_CORE R8A774A1_CLK_S0D4>; |
Adam Ford | 5902879 | 2020-06-30 09:30:11 -0500 | [diff] [blame] | 81 | }; |