1/* 2 * Device Tree Source for the Eagle board 3 * 4 * Copyright (C) 2016-2017 Renesas Electronics Corp. 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. 10 */ 11 12/dts-v1/; 13#include "r8a77970.dtsi" 14 15/ { 16 model = "Renesas Eagle board based on r8a77970"; 17 compatible = "renesas,eagle", "renesas,r8a77970"; 18 19 aliases { 20 serial0 = &scif0; 21 ethernet0 = &avb; 22 }; 23 24 chosen { 25 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; 26 stdout-path = "serial0:115200n8"; 27 }; 28 29 memory@48000000 { 30 device_type = "memory"; 31 /* first 128MB is reserved for secure area. */ 32 reg = <0x0 0x48000000 0x0 0x38000000>; 33 }; 34 35 hdmi-out { 36 compatible = "hdmi-connector"; 37 type = "a"; 38 39 port { 40 hdmi_con_out: endpoint { 41 remote-endpoint = <&adv7511_out>; 42 }; 43 }; 44 }; 45 46 d3p3: regulator-fixed { 47 compatible = "regulator-fixed"; 48 regulator-name = "fixed-3.3V"; 49 regulator-min-microvolt = <3300000>; 50 regulator-max-microvolt = <3300000>; 51 regulator-boot-on; 52 regulator-always-on; 53 }; 54 55 lvds-decoder { 56 compatible = "thine,thc63lvd1024"; 57 58 vcc-supply = <&d3p3>; 59 60 ports { 61 #address-cells = <1>; 62 #size-cells = <0>; 63 64 port@0 { 65 reg = <0>; 66 thc63lvd1024_in: endpoint { 67 remote-endpoint = <&lvds0_out>; 68 }; 69 }; 70 71 port@2 { 72 reg = <2>; 73 thc63lvd1024_out: endpoint { 74 remote-endpoint = <&adv7511_in>; 75 }; 76 }; 77 }; 78 }; 79}; 80 81&avb { 82 renesas,no-ether-link; 83 phy-handle = <&phy0>; 84 phy-mode = "rgmii-id"; 85 status = "okay"; 86 87 phy0: ethernet-phy@0 { 88 rxc-skew-ps = <1500>; 89 reg = <0>; 90 interrupt-parent = <&gpio1>; 91 interrupts = <17 IRQ_TYPE_LEVEL_LOW>; 92 }; 93}; 94 95&extal_clk { 96 clock-frequency = <16666666>; 97}; 98 99&extalr_clk { 100 clock-frequency = <32768>; 101}; 102 103&i2c0 { 104 pinctrl-0 = <&i2c0_pins>; 105 pinctrl-names = "default"; 106 107 status = "okay"; 108 clock-frequency = <400000>; 109 110 io_expander: gpio@20 { 111 compatible = "onnn,pca9654"; 112 reg = <0x20>; 113 gpio-controller; 114 #gpio-cells = <2>; 115 }; 116 117 hdmi@39 { 118 compatible = "adi,adv7511w"; 119 reg = <0x39>; 120 interrupt-parent = <&gpio1>; 121 interrupts = <20 IRQ_TYPE_LEVEL_LOW>; 122 123 adi,input-depth = <8>; 124 adi,input-colorspace = "rgb"; 125 adi,input-clock = "1x"; 126 adi,input-style = <1>; 127 adi,input-justification = "evenly"; 128 129 ports { 130 #address-cells = <1>; 131 #size-cells = <0>; 132 133 port@0 { 134 reg = <0>; 135 adv7511_in: endpoint { 136 remote-endpoint = <&thc63lvd1024_out>; 137 }; 138 }; 139 140 port@1 { 141 reg = <1>; 142 adv7511_out: endpoint { 143 remote-endpoint = <&hdmi_con_out>; 144 }; 145 }; 146 }; 147 }; 148}; 149 150&pfc { 151 i2c0_pins: i2c0 { 152 groups = "i2c0"; 153 function = "i2c0"; 154 }; 155 156 scif0_pins: scif0 { 157 groups = "scif0_data"; 158 function = "scif0"; 159 }; 160}; 161 162&rwdt { 163 timeout-sec = <60>; 164 status = "okay"; 165}; 166 167&scif0 { 168 pinctrl-0 = <&scif0_pins>; 169 pinctrl-names = "default"; 170 171 status = "okay"; 172}; 173 174&du { 175 status = "okay"; 176}; 177 178&lvds0 { 179 status = "okay"; 180 181 ports { 182 port@1 { 183 lvds0_out: endpoint { 184 remote-endpoint = <&thc63lvd1024_in>; 185 }; 186 }; 187 }; 188}; 189