Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 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/; |
Simon Glass | 78cefc0 | 2014-10-20 19:48:29 -0600 | [diff] [blame] | 11 | #include "exynos54xx.dtsi" |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | model = "Samsung/Google Peach Pit board based on Exynos5420"; |
| 15 | |
| 16 | compatible = "google,pit-rev#", "google,pit", |
| 17 | "google,peach", "samsung,exynos5420", "samsung,exynos5"; |
| 18 | |
| 19 | config { |
Simon Glass | dabafc3 | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 20 | google,bad-wake-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 21 | hwid = "PIT TEST A-A 7848"; |
| 22 | lazy-init = <1>; |
| 23 | }; |
| 24 | |
| 25 | aliases { |
| 26 | serial0 = "/serial@12C30000"; |
| 27 | console = "/serial@12C30000"; |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame^] | 28 | pmic = "/i2c@12CA0000"; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | dmc { |
| 32 | mem-manuf = "samsung"; |
| 33 | mem-type = "ddr3"; |
| 34 | clock-frequency = <800000000>; |
Simon Glass | c337632 | 2014-10-07 22:01:38 -0600 | [diff] [blame] | 35 | arm-frequency = <900000000>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 36 | }; |
| 37 | |
| 38 | tmu@10060000 { |
| 39 | samsung,min-temp = <25>; |
| 40 | samsung,max-temp = <125>; |
| 41 | samsung,start-warning = <95>; |
| 42 | samsung,start-tripping = <105>; |
| 43 | samsung,hw-tripping = <110>; |
| 44 | samsung,efuse-min-value = <40>; |
| 45 | samsung,efuse-value = <55>; |
| 46 | samsung,efuse-max-value = <100>; |
| 47 | samsung,slope = <274761730>; |
| 48 | samsung,dc-value = <25>; |
| 49 | }; |
| 50 | |
| 51 | /* MAX77802 is on i2c bus 4 */ |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame^] | 52 | i2c@12CA0000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 53 | clock-frequency = <400000>; |
| 54 | power-regulator@9 { |
| 55 | compatible = "maxim,max77802-pmic"; |
| 56 | reg = <0x9>; |
| 57 | }; |
| 58 | }; |
| 59 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame^] | 60 | i2c@12CD0000 { /* i2c7 */ |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 61 | clock-frequency = <100000>; |
| 62 | soundcodec@20 { |
| 63 | reg = <0x20>; |
| 64 | compatible = "maxim,max98090-codec"; |
| 65 | }; |
Ajay Kumar | b5a0287 | 2014-09-05 16:53:37 +0530 | [diff] [blame] | 66 | |
| 67 | edp-lvds-bridge@48 { |
| 68 | compatible = "parade,ps8625"; |
| 69 | reg = <0x48>; |
Ajay Kumar | bc38c08 | 2015-03-04 19:05:29 +0530 | [diff] [blame] | 70 | sleep-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>; |
| 71 | reset-gpio = <&gpy7 7 GPIO_ACTIVE_HIGH>; |
Ajay Kumar | b5a0287 | 2014-09-05 16:53:37 +0530 | [diff] [blame] | 72 | }; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | sound@3830000 { |
| 76 | samsung,codec-type = "max98090"; |
| 77 | }; |
| 78 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame^] | 79 | i2c@12E10000 { /* i2c9 */ |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 80 | clock-frequency = <400000>; |
| 81 | tpm@20 { |
Simon Glass | 023ff8a | 2015-05-04 11:31:00 -0600 | [diff] [blame] | 82 | compatible = "infineon,slb9645tt"; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 83 | reg = <0x20>; |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | spi@12d30000 { /* spi1 */ |
| 88 | spi-max-frequency = <50000000>; |
| 89 | firmware_storage_spi: flash@0 { |
Simon Glass | ca7eafe | 2014-10-13 23:42:01 -0600 | [diff] [blame] | 90 | compatible = "spi-flash"; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 91 | reg = <0>; |
| 92 | |
| 93 | /* |
| 94 | * A region for the kernel to store a panic event |
| 95 | * which the firmware will add to the log. |
| 96 | */ |
| 97 | elog-panic-event-offset = <0x01e00000 0x100000>; |
| 98 | |
| 99 | elog-shrink-size = <0x400>; |
| 100 | elog-full-threshold = <0xc00>; |
| 101 | }; |
| 102 | }; |
| 103 | |
| 104 | spi@12d40000 { /* spi2 */ |
| 105 | spi-max-frequency = <4000000>; |
| 106 | spi-deactivate-delay = <200>; |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 107 | |
Sjoerd Simons | d2f895f | 2014-11-27 16:34:08 +0100 | [diff] [blame] | 108 | cros_ec: cros-ec@0 { |
Simon Glass | 73f220c | 2015-03-26 09:29:39 -0600 | [diff] [blame] | 109 | compatible = "google,cros-ec-spi"; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 110 | reg = <0>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 111 | spi-half-duplex; |
| 112 | spi-max-timeout-ms = <1100>; |
Simon Glass | dabafc3 | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 113 | ec-interrupt = <&gpx1 5 GPIO_ACTIVE_LOW>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 114 | |
| 115 | /* |
| 116 | * This describes the flash memory within the EC. Note |
| 117 | * that the STM32L flash erases to 0, not 0xff. |
| 118 | */ |
| 119 | #address-cells = <1>; |
| 120 | #size-cells = <1>; |
| 121 | flash@8000000 { |
| 122 | reg = <0x08000000 0x20000>; |
| 123 | erase-value = <0>; |
| 124 | }; |
| 125 | }; |
| 126 | }; |
| 127 | |
| 128 | xhci@12000000 { |
Simon Glass | dabafc3 | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 129 | samsung,vbus-gpio = <&gph0 0 GPIO_ACTIVE_HIGH>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 130 | }; |
| 131 | |
| 132 | xhci@12400000 { |
Simon Glass | dabafc3 | 2015-01-05 20:05:42 -0700 | [diff] [blame] | 133 | samsung,vbus-gpio = <&gph0 1 GPIO_ACTIVE_HIGH>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 134 | }; |
Ajay Kumar | b5a0287 | 2014-09-05 16:53:37 +0530 | [diff] [blame] | 135 | |
| 136 | fimd@14400000 { |
| 137 | samsung,vl-freq = <60>; |
| 138 | samsung,vl-col = <1366>; |
| 139 | samsung,vl-row = <768>; |
| 140 | samsung,vl-width = <1366>; |
| 141 | samsung,vl-height = <768>; |
| 142 | |
| 143 | samsung,vl-clkp; |
| 144 | samsung,vl-dp; |
| 145 | samsung,vl-bpix = <4>; |
| 146 | |
| 147 | samsung,vl-hspw = <32>; |
| 148 | samsung,vl-hbpd = <40>; |
| 149 | samsung,vl-hfpd = <40>; |
| 150 | samsung,vl-vspw = <6>; |
| 151 | samsung,vl-vbpd = <10>; |
| 152 | samsung,vl-vfpd = <12>; |
| 153 | samsung,vl-cmd-allow-len = <0xf>; |
| 154 | |
| 155 | samsung,winid = <3>; |
| 156 | samsung,interface-mode = <1>; |
| 157 | samsung,dp-enabled = <1>; |
| 158 | samsung,dual-lcd-enabled = <0>; |
| 159 | }; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 160 | }; |
Sjoerd Simons | d2f895f | 2014-11-27 16:34:08 +0100 | [diff] [blame] | 161 | |
| 162 | #include "cros-ec-keyboard.dtsi" |