1/* 2 * SAMSUNG/GOOGLE Peach-Pit board device tree source 3 * 4 * Copyright (c) 2013 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com 6 * 7 * SPDX-License-Identifier: GPL-2.0+ 8 */ 9 10/dts-v1/; 11#include "exynos54xx.dtsi" 12 13/ { 14 model = "Samsung/Google Peach Pi board based on Exynos5800"; 15 16 compatible = "google,pit-rev#", "google,pit", 17 "google,peach", "samsung,exynos5800", "samsung,exynos5"; 18 19 config { 20 google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; 21 hwid = "PIT TEST A-A 7848"; 22 lazy-init = <1>; 23 }; 24 25 aliases { 26 serial0 = "/serial@12C30000"; 27 console = "/serial@12C30000"; 28 pmic = "/i2c@12CA0000"; 29 i2c104 = &i2c_tunnel; 30 }; 31 32 dmc { 33 mem-manuf = "samsung"; 34 mem-type = "ddr3"; 35 clock-frequency = <800000000>; 36 arm-frequency = <900000000>; 37 }; 38 39 tmu@10060000 { 40 samsung,min-temp = <25>; 41 samsung,max-temp = <125>; 42 samsung,start-warning = <95>; 43 samsung,start-tripping = <105>; 44 samsung,hw-tripping = <110>; 45 samsung,efuse-min-value = <40>; 46 samsung,efuse-value = <55>; 47 samsung,efuse-max-value = <100>; 48 samsung,slope = <274761730>; 49 samsung,dc-value = <25>; 50 }; 51 52 /* MAX77802 is on i2c bus 4 */ 53 i2c@12CA0000 { 54 clock-frequency = <400000>; 55 power-regulator@9 { 56 compatible = "maxim,max77802-pmic"; 57 reg = <0x9>; 58 }; 59 }; 60 61 i2c@12CD0000 { /* i2c7 */ 62 clock-frequency = <100000>; 63 soundcodec@20 { 64 reg = <0x20>; 65 compatible = "maxim,max98090-codec"; 66 }; 67 }; 68 69 sound@3830000 { 70 samsung,codec-type = "max98090"; 71 }; 72 73 i2c@12E10000 { /* i2c9 */ 74 clock-frequency = <400000>; 75 tpm@20 { 76 compatible = "infineon,slb9645tt"; 77 reg = <0x20>; 78 }; 79 }; 80 81 spi@12d30000 { /* spi1 */ 82 spi-max-frequency = <50000000>; 83 firmware_storage_spi: flash@0 { 84 reg = <0>; 85 86 /* 87 * A region for the kernel to store a panic event 88 * which the firmware will add to the log. 89 */ 90 elog-panic-event-offset = <0x01e00000 0x100000>; 91 92 elog-shrink-size = <0x400>; 93 elog-full-threshold = <0xc00>; 94 }; 95 }; 96 97 xhci@12000000 { 98 samsung,vbus-gpio = <&gph0 0 GPIO_ACTIVE_HIGH>; 99 }; 100 101 xhci@12400000 { 102 samsung,vbus-gpio = <&gph0 1 GPIO_ACTIVE_HIGH>; 103 }; 104 105 fimd@14400000 { 106 samsung,vl-freq = <60>; 107 samsung,vl-col = <1920>; 108 samsung,vl-row = <1080>; 109 samsung,vl-width = <1920>; 110 samsung,vl-height = <1080>; 111 112 samsung,vl-clkp; 113 samsung,vl-dp; 114 samsung,vl-bpix = <4>; 115 116 samsung,vl-hspw = <80>; 117 samsung,vl-hbpd = <172>; 118 samsung,vl-hfpd = <60>; 119 samsung,vl-vspw = <10>; 120 samsung,vl-vbpd = <25>; 121 samsung,vl-vfpd = <10>; 122 samsung,vl-cmd-allow-len = <0xf>; 123 124 samsung,power-on-delay = <30000>; 125 samsung,winid = <3>; 126 samsung,interface-mode = <1>; 127 samsung,dp-enabled = <1>; 128 samsung,dual-lcd-enabled = <0>; 129 130 samsung,bl-en-gpio = <&gpx2 2 GPIO_ACTIVE_HIGH>; 131 }; 132}; 133 134&spi_2 { 135 spi-max-frequency = <3125000>; 136 spi-deactivate-delay = <200>; 137 status = "okay"; 138 num-cs = <1>; 139 samsung,spi-src-clk = <0>; 140 cs-gpios = <&gpb1 2 0>; 141 142 cros_ec: cros-ec@0 { 143 compatible = "google,cros-ec-spi"; 144 interrupt-parent = <&gpx1>; 145 interrupts = <5 0>; 146 reg = <0>; 147 spi-half-duplex; 148 spi-max-timeout-ms = <1100>; 149 ec-interrupt = <&gpx1 5 GPIO_ACTIVE_LOW>; 150 151 /* 152 * This describes the flash memory within the EC. Note 153 * that the STM32L flash erases to 0, not 0xff. 154 */ 155 #address-cells = <1>; 156 #size-cells = <1>; 157 flash@8000000 { 158 reg = <0x08000000 0x20000>; 159 erase-value = <0>; 160 }; 161 162 controller-data { 163 samsung,spi-feedback-delay = <1>; 164 }; 165 166 i2c_tunnel: i2c-tunnel { 167 compatible = "google,cros-ec-i2c-tunnel"; 168 #address-cells = <1>; 169 #size-cells = <0>; 170 google,remote-bus = <0>; 171 172 battery: sbs-battery@b { 173 compatible = "sbs,sbs-battery"; 174 reg = <0xb>; 175 sbs,poll-retry-count = <1>; 176 sbs,i2c-retry-count = <2>; 177 }; 178 179 power-regulator@48 { 180 compatible = "ti,tps65090"; 181 reg = <0x48>; 182 183 regulators { 184 tps65090_dcdc1: dcdc1 { 185 ti,enable-ext-control; 186 }; 187 tps65090_dcdc2: dcdc2 { 188 ti,enable-ext-control; 189 }; 190 tps65090_dcdc3: dcdc3 { 191 ti,enable-ext-control; 192 }; 193 tps65090_fet1: fet1 { 194 regulator-name = "vcd_led"; 195 }; 196 tps65090_fet2: fet2 { 197 regulator-name = "video_mid"; 198 regulator-always-on; 199 }; 200 tps65090_fet3: fet3 { 201 regulator-name = "wwan_r"; 202 regulator-always-on; 203 }; 204 tps65090_fet4: fet4 { 205 regulator-name = "sdcard"; 206 regulator-always-on; 207 }; 208 tps65090_fet5: fet5 { 209 regulator-name = "camout"; 210 regulator-always-on; 211 }; 212 tps65090_fet6: fet6 { 213 regulator-name = "lcd_vdd"; 214 }; 215 tps65090_fet7: fet7 { 216 regulator-name = "video_mid_1a"; 217 regulator-always-on; 218 }; 219 tps65090_ldo1: ldo1 { 220 }; 221 tps65090_ldo2: ldo2 { 222 }; 223 }; 224 225 charger { 226 compatible = "ti,tps65090-charger"; 227 }; 228 }; 229 }; 230 }; 231}; 232 233#include "cros-ec-keyboard.dtsi" 234