Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Source for the Salvator-X board |
| 4 | * |
| 5 | * Copyright (C) 2015 Renesas Electronics Corp. |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 8 | /dts-v1/; |
| 9 | #include "r8a7795.dtsi" |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 10 | #include "salvator-x.dtsi" |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 11 | |
| 12 | / { |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 13 | model = "Renesas Salvator-X board based on r8a7795 ES2.0+"; |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 14 | compatible = "renesas,salvator-x", "renesas,r8a7795"; |
| 15 | |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 16 | memory@48000000 { |
| 17 | device_type = "memory"; |
| 18 | /* first 128MB is reserved for secure area. */ |
| 19 | reg = <0x0 0x48000000 0x0 0x38000000>; |
| 20 | }; |
| 21 | |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 22 | memory@500000000 { |
| 23 | device_type = "memory"; |
| 24 | reg = <0x5 0x00000000 0x0 0x40000000>; |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 25 | }; |
| 26 | |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 27 | memory@600000000 { |
| 28 | device_type = "memory"; |
| 29 | reg = <0x6 0x00000000 0x0 0x40000000>; |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 30 | }; |
| 31 | |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 32 | memory@700000000 { |
| 33 | device_type = "memory"; |
| 34 | reg = <0x7 0x00000000 0x0 0x40000000>; |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 35 | }; |
| 36 | }; |
| 37 | |
| 38 | &du { |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 39 | clocks = <&cpg CPG_MOD 724>, |
| 40 | <&cpg CPG_MOD 723>, |
| 41 | <&cpg CPG_MOD 722>, |
| 42 | <&cpg CPG_MOD 721>, |
| 43 | <&cpg CPG_MOD 727>, |
| 44 | <&versaclock5 1>, |
| 45 | <&x21_clk>, |
| 46 | <&x22_clk>, |
| 47 | <&versaclock5 2>; |
| 48 | clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0", |
| 49 | "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; |
| 50 | }; |
| 51 | |
| 52 | &ehci2 { |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | |
| 56 | &hdmi0 { |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 57 | status = "okay"; |
| 58 | |
| 59 | ports { |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 60 | port@1 { |
| 61 | reg = <1>; |
| 62 | rcar_dw_hdmi0_out: endpoint { |
| 63 | remote-endpoint = <&hdmi0_con>; |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 64 | }; |
| 65 | }; |
| 66 | }; |
| 67 | }; |
| 68 | |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 69 | &hdmi0_con { |
| 70 | remote-endpoint = <&rcar_dw_hdmi0_out>; |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 71 | }; |
| 72 | |
Marek Vasut | 37a7908 | 2017-09-12 23:01:51 +0200 | [diff] [blame] | 73 | &hdmi1 { |
| 74 | status = "okay"; |
| 75 | |
| 76 | ports { |
| 77 | port@1 { |
| 78 | reg = <1>; |
| 79 | rcar_dw_hdmi1_out: endpoint { |
| 80 | remote-endpoint = <&hdmi1_con>; |
| 81 | }; |
| 82 | }; |
| 83 | }; |
| 84 | }; |
| 85 | |
| 86 | &hdmi1_con { |
| 87 | remote-endpoint = <&rcar_dw_hdmi1_out>; |
| 88 | }; |
| 89 | |
| 90 | &ohci2 { |
| 91 | status = "okay"; |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 92 | }; |
| 93 | |
| 94 | &pfc { |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 95 | usb2_pins: usb2 { |
| 96 | groups = "usb2"; |
| 97 | function = "usb2"; |
| 98 | }; |
| 99 | }; |
| 100 | |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 101 | &sata { |
| 102 | status = "okay"; |
| 103 | }; |
| 104 | |
Marek Vasut | 4157c47 | 2017-07-21 23:16:59 +0200 | [diff] [blame] | 105 | &usb2_phy2 { |
| 106 | pinctrl-0 = <&usb2_pins>; |
| 107 | pinctrl-names = "default"; |
| 108 | |
| 109 | status = "okay"; |
| 110 | }; |