1 // SPDX-License-Identifier: GPL-2.0 << 2 /* 1 /* 3 * Device Tree Source for the V3M Starter Kit 2 * Device Tree Source for the V3M Starter Kit board 4 * 3 * 5 * Copyright (C) 2017 Renesas Electronics Corp 4 * Copyright (C) 2017 Renesas Electronics Corp. 6 * Copyright (C) 2017 Cogent Embedded, Inc. 5 * Copyright (C) 2017 Cogent Embedded, Inc. >> 6 * >> 7 * This file is licensed under the terms of the GNU General Public License >> 8 * version 2. This program is licensed "as is" without any warranty of any >> 9 * kind, whether express or implied. 7 */ 10 */ 8 11 9 /dts-v1/; 12 /dts-v1/; 10 #include "r8a77970.dtsi" 13 #include "r8a77970.dtsi" 11 #include <dt-bindings/gpio/gpio.h> << 12 14 13 / { 15 / { 14 model = "Renesas V3M Starter Kit board 16 model = "Renesas V3M Starter Kit board"; 15 compatible = "renesas,v3msk", "renesas 17 compatible = "renesas,v3msk", "renesas,r8a77970"; 16 18 17 aliases { 19 aliases { 18 i2c0 = &i2c0; << 19 i2c1 = &i2c1; << 20 i2c2 = &i2c2; << 21 i2c3 = &i2c3; << 22 i2c4 = &i2c4; << 23 serial0 = &scif0; 20 serial0 = &scif0; 24 }; 21 }; 25 22 26 chosen { 23 chosen { 27 stdout-path = "serial0:115200n 24 stdout-path = "serial0:115200n8"; 28 }; 25 }; 29 26 30 hdmi-out { << 31 compatible = "hdmi-connector"; << 32 type = "a"; << 33 << 34 port { << 35 hdmi_con: endpoint { << 36 remote-endpoin << 37 }; << 38 }; << 39 }; << 40 << 41 lvds-decoder { << 42 compatible = "thine,thc63lvd10 << 43 vcc-supply = <&vcc_d3_3v>; << 44 << 45 ports { << 46 #address-cells = <1>; << 47 #size-cells = <0>; << 48 << 49 port@0 { << 50 reg = <0>; << 51 thc63lvd1024_i << 52 remote << 53 }; << 54 }; << 55 << 56 port@2 { << 57 reg = <2>; << 58 thc63lvd1024_o << 59 remote << 60 }; << 61 }; << 62 }; << 63 }; << 64 << 65 memory@48000000 { 27 memory@48000000 { 66 device_type = "memory"; 28 device_type = "memory"; 67 /* first 128MB is reserved for 29 /* first 128MB is reserved for secure area. */ 68 reg = <0x0 0x48000000 0x0 0x78 !! 30 reg = <0x0 0x48000000 0x0 0x38000000>; 69 }; 31 }; 70 32 71 osc5_clk: osc5-clock { 33 osc5_clk: osc5-clock { 72 compatible = "fixed-clock"; 34 compatible = "fixed-clock"; 73 #clock-cells = <0>; 35 #clock-cells = <0>; 74 clock-frequency = <148500000>; 36 clock-frequency = <148500000>; 75 }; 37 }; 76 38 77 vcc_d1_8v: regulator-0 { 39 vcc_d1_8v: regulator-0 { 78 compatible = "regulator-fixed" 40 compatible = "regulator-fixed"; 79 regulator-name = "VCC_D1.8V"; 41 regulator-name = "VCC_D1.8V"; 80 regulator-min-microvolt = <180 42 regulator-min-microvolt = <1800000>; 81 regulator-max-microvolt = <180 43 regulator-max-microvolt = <1800000>; 82 regulator-boot-on; 44 regulator-boot-on; 83 regulator-always-on; 45 regulator-always-on; 84 }; 46 }; 85 47 86 vcc_d3_3v: regulator-1 { 48 vcc_d3_3v: regulator-1 { 87 compatible = "regulator-fixed" 49 compatible = "regulator-fixed"; 88 regulator-name = "VCC_D3.3V"; 50 regulator-name = "VCC_D3.3V"; 89 regulator-min-microvolt = <330 51 regulator-min-microvolt = <3300000>; 90 regulator-max-microvolt = <330 52 regulator-max-microvolt = <3300000>; 91 regulator-boot-on; 53 regulator-boot-on; 92 regulator-always-on; 54 regulator-always-on; 93 }; 55 }; 94 56 95 vcc_vddq_vin0: regulator-2 { !! 57 lvds-decoder { 96 compatible = "regulator-fixed" !! 58 compatible = "thine,thc63lvd1024"; 97 regulator-name = "VCC_VDDQ_VIN !! 59 vcc-supply = <&vcc_d3_3v>; 98 regulator-min-microvolt = <330 !! 60 99 regulator-max-microvolt = <330 !! 61 ports { 100 regulator-boot-on; !! 62 #address-cells = <1>; 101 regulator-always-on; !! 63 #size-cells = <0>; >> 64 >> 65 port@0 { >> 66 reg = <0>; >> 67 thc63lvd1024_in: endpoint { >> 68 remote-endpoint = <&lvds0_out>; >> 69 }; >> 70 }; >> 71 >> 72 port@2 { >> 73 reg = <2>; >> 74 thc63lvd1024_out: endpoint { >> 75 remote-endpoint = <&adv7511_in>; >> 76 }; >> 77 }; >> 78 }; >> 79 }; >> 80 >> 81 hdmi-out { >> 82 compatible = "hdmi-connector"; >> 83 type = "a"; >> 84 >> 85 port { >> 86 hdmi_con: endpoint { >> 87 remote-endpoint = <&adv7511_out>; >> 88 }; >> 89 }; 102 }; 90 }; 103 }; 91 }; 104 92 105 &avb { 93 &avb { 106 pinctrl-0 = <&avb_pins>; 94 pinctrl-0 = <&avb_pins>; 107 pinctrl-names = "default"; 95 pinctrl-names = "default"; 108 96 109 renesas,no-ether-link; 97 renesas,no-ether-link; 110 phy-handle = <&phy0>; 98 phy-handle = <&phy0>; 111 rx-internal-delay-ps = <1800>; !! 99 phy-mode = "rgmii-id"; 112 tx-internal-delay-ps = <2000>; << 113 status = "okay"; 100 status = "okay"; 114 101 115 phy0: ethernet-phy@0 { 102 phy0: ethernet-phy@0 { 116 compatible = "ethernet-phy-id0 << 117 "ethernet-phy-iee << 118 rxc-skew-ps = <1500>; 103 rxc-skew-ps = <1500>; 119 reg = <0>; 104 reg = <0>; 120 interrupt-parent = <&gpio1>; << 121 interrupts = <17 IRQ_TYPE_LEVE << 122 reset-gpios = <&gpio1 16 GPIO_ << 123 }; 105 }; 124 }; 106 }; 125 107 126 &du { 108 &du { 127 clocks = <&cpg CPG_MOD 724>, 109 clocks = <&cpg CPG_MOD 724>, 128 <&osc5_clk>; 110 <&osc5_clk>; 129 clock-names = "du.0", "dclkin.0"; 111 clock-names = "du.0", "dclkin.0"; 130 status = "okay"; 112 status = "okay"; 131 }; 113 }; 132 114 133 &extal_clk { 115 &extal_clk { 134 clock-frequency = <16666666>; 116 clock-frequency = <16666666>; 135 }; 117 }; 136 118 137 &extalr_clk { 119 &extalr_clk { 138 clock-frequency = <32768>; 120 clock-frequency = <32768>; 139 }; 121 }; 140 122 >> 123 &pfc { >> 124 avb_pins: avb0 { >> 125 groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk"; >> 126 function = "avb0"; >> 127 }; >> 128 >> 129 i2c0_pins: i2c0 { >> 130 groups = "i2c0"; >> 131 function = "i2c0"; >> 132 }; >> 133 >> 134 scif0_pins: scif0 { >> 135 groups = "scif0_data"; >> 136 function = "scif0"; >> 137 }; >> 138 }; >> 139 141 &i2c0 { 140 &i2c0 { 142 pinctrl-0 = <&i2c0_pins>; 141 pinctrl-0 = <&i2c0_pins>; 143 pinctrl-names = "default"; 142 pinctrl-names = "default"; 144 143 145 status = "okay"; 144 status = "okay"; 146 clock-frequency = <400000>; 145 clock-frequency = <400000>; 147 146 148 hdmi@39 { !! 147 hdmi@39{ 149 compatible = "adi,adv7511w"; 148 compatible = "adi,adv7511w"; 150 #sound-dai-cells = <0>; 149 #sound-dai-cells = <0>; 151 reg = <0x39>; 150 reg = <0x39>; 152 interrupt-parent = <&gpio1>; 151 interrupt-parent = <&gpio1>; 153 interrupts = <20 IRQ_TYPE_LEVE 152 interrupts = <20 IRQ_TYPE_LEVEL_LOW>; 154 avdd-supply = <&vcc_d1_8v>; 153 avdd-supply = <&vcc_d1_8v>; 155 dvdd-supply = <&vcc_d1_8v>; 154 dvdd-supply = <&vcc_d1_8v>; 156 pvdd-supply = <&vcc_d1_8v>; 155 pvdd-supply = <&vcc_d1_8v>; 157 bgvdd-supply = <&vcc_d1_8v>; 156 bgvdd-supply = <&vcc_d1_8v>; 158 dvdd-3v-supply = <&vcc_d3_3v>; 157 dvdd-3v-supply = <&vcc_d3_3v>; 159 158 160 adi,input-depth = <8>; 159 adi,input-depth = <8>; 161 adi,input-colorspace = "rgb"; 160 adi,input-colorspace = "rgb"; 162 adi,input-clock = "1x"; 161 adi,input-clock = "1x"; >> 162 adi,input-style = <1>; >> 163 adi,input-justification = "evenly"; 163 164 164 ports { 165 ports { 165 #address-cells = <1>; 166 #address-cells = <1>; 166 #size-cells = <0>; 167 #size-cells = <0>; 167 168 168 port@0 { 169 port@0 { 169 reg = <0>; 170 reg = <0>; 170 adv7511_in: en 171 adv7511_in: endpoint { 171 remote 172 remote-endpoint = <&thc63lvd1024_out>; 172 }; 173 }; 173 }; 174 }; 174 175 175 port@1 { 176 port@1 { 176 reg = <1>; 177 reg = <1>; 177 adv7511_out: e 178 adv7511_out: endpoint { 178 remote 179 remote-endpoint = <&hdmi_con>; 179 }; 180 }; 180 }; 181 }; 181 }; 182 }; 182 }; 183 }; 183 }; 184 }; 184 185 185 &lvds0 { 186 &lvds0 { 186 status = "okay"; 187 status = "okay"; 187 188 188 ports { 189 ports { 189 port@1 { 190 port@1 { 190 lvds0_out: endpoint { 191 lvds0_out: endpoint { 191 remote-endpoin 192 remote-endpoint = <&thc63lvd1024_in>; 192 }; << 193 }; << 194 }; << 195 }; << 196 << 197 &mmc0 { << 198 pinctrl-0 = <&mmc_pins>; << 199 pinctrl-names = "default"; << 200 << 201 vmmc-supply = <&vcc_d3_3v>; << 202 vqmmc-supply = <&vcc_vddq_vin0>; << 203 bus-width = <8>; << 204 non-removable; << 205 status = "okay"; << 206 }; << 207 << 208 &pfc { << 209 avb_pins: avb0 { << 210 groups = "avb0_mdio", "avb0_rg << 211 function = "avb0"; << 212 }; << 213 << 214 i2c0_pins: i2c0 { << 215 groups = "i2c0"; << 216 function = "i2c0"; << 217 }; << 218 << 219 mmc_pins: mmc_3_3v { << 220 groups = "mmc_data8", "mmc_ctr << 221 function = "mmc"; << 222 power-source = <3300>; << 223 }; << 224 << 225 qspi0_pins: qspi0 { << 226 groups = "qspi0_ctrl", "qspi0_ << 227 function = "qspi0"; << 228 }; << 229 << 230 scif0_pins: scif0 { << 231 groups = "scif0_data"; << 232 function = "scif0"; << 233 }; << 234 }; << 235 << 236 &rpc { << 237 pinctrl-0 = <&qspi0_pins>; << 238 pinctrl-names = "default"; << 239 << 240 status = "okay"; << 241 << 242 flash@0 { << 243 compatible = "spansion,s25fs51 << 244 reg = <0>; << 245 spi-max-frequency = <50000000> << 246 spi-rx-bus-width = <4>; << 247 << 248 partitions { << 249 compatible = "fixed-pa << 250 #address-cells = <1>; << 251 #size-cells = <1>; << 252 << 253 bootparam@0 { << 254 reg = <0x00000 << 255 read-only; << 256 }; << 257 cr7@40000 { << 258 reg = <0x00040 << 259 read-only; << 260 }; << 261 cert_header_sa3@c0000 << 262 reg = <0x000c0 << 263 read-only; << 264 }; << 265 bl2@140000 { << 266 reg = <0x00140 << 267 read-only; << 268 }; << 269 cert_header_sa6@180000 << 270 reg = <0x00180 << 271 read-only; << 272 }; << 273 bl31@1c0000 { << 274 reg = <0x001c0 << 275 read-only; << 276 }; << 277 uboot@640000 { << 278 reg = <0x00640 << 279 read-only; << 280 }; << 281 uboot-env@700000 { << 282 reg = <0x00700 << 283 read-only; << 284 }; << 285 dtb@740000 { << 286 reg = <0x00740 << 287 }; << 288 kernel@7c0000 { << 289 reg = <0x007c0 << 290 }; << 291 user@1bc0000 { << 292 reg = <0x01bc0 << 293 }; 193 }; 294 }; 194 }; 295 }; 195 }; 296 }; 196 }; 297 197 298 &scif0 { 198 &scif0 { 299 pinctrl-0 = <&scif0_pins>; 199 pinctrl-0 = <&scif0_pins>; 300 pinctrl-names = "default"; 200 pinctrl-names = "default"; 301 201 302 status = "okay"; 202 status = "okay"; 303 }; 203 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.