1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-N 4 * 5 * Copyright (C) 2017 Renesas Electronics Corp. 6 */ 7 8/dts-v1/; 9#include "r8a77965.dtsi" 10#include "salvator-xs.dtsi" 11 12/ { 13 model = "Renesas Salvator-X 2nd version board based on r8a77965"; 14 compatible = "renesas,salvator-xs", "renesas,r8a77965"; 15 16 memory@48000000 { 17 device_type = "memory"; 18 /* first 128MB is reserved for secure area. */ 19 reg = <0x0 0x48000000 0x0 0x78000000>; 20 }; 21}; 22 23&du { 24 clocks = <&cpg CPG_MOD 724>, 25 <&cpg CPG_MOD 723>, 26 <&cpg CPG_MOD 721>, 27 <&versaclock6 1>, 28 <&x21_clk>, 29 <&versaclock6 2>; 30 clock-names = "du.0", "du.1", "du.3", 31 "dclkin.0", "dclkin.1", "dclkin.3"; 32}; 33 34&hdmi0 { 35 status = "okay"; 36 37 ports { 38 port@1 { 39 reg = <1>; 40 rcar_dw_hdmi0_out: endpoint { 41 remote-endpoint = <&hdmi0_con>; 42 }; 43 }; 44 }; 45}; 46 47&hdmi0_con { 48 remote-endpoint = <&rcar_dw_hdmi0_out>; 49}; 50 51&pca9654 { 52 pcie_sata_switch { 53 gpio-hog; 54 gpios = <7 GPIO_ACTIVE_HIGH>; 55 output-low; /* enable SATA by default */ 56 line-name = "PCIE/SATA switch"; 57 }; 58}; 59 60/* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */ 61&sata { 62 status = "okay"; 63}; 64