1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 3f126890aSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h> 4f126890aSEmmanuel Vadot#include "tegra30.dtsi" 5f126890aSEmmanuel Vadot#include "tegra30-cpu-opp.dtsi" 6f126890aSEmmanuel Vadot#include "tegra30-cpu-opp-microvolt.dtsi" 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/** 9f126890aSEmmanuel Vadot * This file contains common DT entry for all fab version of Cardhu. 10f126890aSEmmanuel Vadot * There is multiple fab version of Cardhu starting from A01 to A07. 11f126890aSEmmanuel Vadot * Cardhu fab version A01 and A03 are not supported. Cardhu fab version 12f126890aSEmmanuel Vadot * A02 will have different sets of GPIOs for fixed regulator compare to 13f126890aSEmmanuel Vadot * Cardhu fab version A04. The Cardhu fab version A05, A06, A07 are 14f126890aSEmmanuel Vadot * compatible with fab version A04. Based on Cardhu fab version, the 15f126890aSEmmanuel Vadot * related dts file need to be chosen like for Cardhu fab version A02, 16f126890aSEmmanuel Vadot * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use 17f126890aSEmmanuel Vadot * tegra30-cardhu-a04.dts. 18f126890aSEmmanuel Vadot * The identification of board is done in two ways, by looking the sticker 19f126890aSEmmanuel Vadot * on PCB and by reading board id eeprom. 20f126890aSEmmanuel Vadot * The sticker will have number like 600-81291-1000-002 C.3. In this 4th 21f126890aSEmmanuel Vadot * number is the fab version like here it is 002 and hence fab version A02. 22f126890aSEmmanuel Vadot * The (downstream internal) U-Boot of Cardhu display the board-id as 23f126890aSEmmanuel Vadot * follows: 24f126890aSEmmanuel Vadot * BoardID: 0C5B, SKU: 0A01, Fab: 02, Rev: 45.00 25f126890aSEmmanuel Vadot * In this Fab version is 02 i.e. A02. 26f126890aSEmmanuel Vadot * The BoardID I2C eeprom is interfaced through i2c5 (pwr_i2c address 0x56). 27f126890aSEmmanuel Vadot * The location 0x8 of this eeprom contains the Fab version. It is 1 byte 28f126890aSEmmanuel Vadot * wide. 29f126890aSEmmanuel Vadot */ 30f126890aSEmmanuel Vadot 31f126890aSEmmanuel Vadot/ { 32f126890aSEmmanuel Vadot model = "NVIDIA Tegra30 Cardhu evaluation board"; 33f126890aSEmmanuel Vadot compatible = "nvidia,cardhu", "nvidia,tegra30"; 34f126890aSEmmanuel Vadot 35f126890aSEmmanuel Vadot aliases { 36f126890aSEmmanuel Vadot rtc0 = "/i2c@7000d000/tps65911@2d"; 37f126890aSEmmanuel Vadot rtc1 = "/rtc@7000e000"; 38f126890aSEmmanuel Vadot serial0 = &uarta; 39f126890aSEmmanuel Vadot serial1 = &uartc; 40f126890aSEmmanuel Vadot }; 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot chosen { 43f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 44f126890aSEmmanuel Vadot }; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot memory@80000000 { 47f126890aSEmmanuel Vadot reg = <0x80000000 0x40000000>; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot pcie@3000 { 51f126890aSEmmanuel Vadot status = "okay"; 52f126890aSEmmanuel Vadot 53f126890aSEmmanuel Vadot /* AVDD_PEXA and VDD_PEXA inputs are grounded on Cardhu. */ 54f126890aSEmmanuel Vadot avdd-pexb-supply = <&ldo1_reg>; 55f126890aSEmmanuel Vadot vdd-pexb-supply = <&ldo1_reg>; 56f126890aSEmmanuel Vadot avdd-pex-pll-supply = <&ldo1_reg>; 57f126890aSEmmanuel Vadot hvdd-pex-supply = <&pex_hvdd_3v3_reg>; 58f126890aSEmmanuel Vadot vddio-pex-ctl-supply = <&sys_3v3_reg>; 59f126890aSEmmanuel Vadot avdd-plle-supply = <&ldo2_reg>; 60f126890aSEmmanuel Vadot 61f126890aSEmmanuel Vadot pci@1,0 { 62f126890aSEmmanuel Vadot nvidia,num-lanes = <4>; 63f126890aSEmmanuel Vadot }; 64f126890aSEmmanuel Vadot 65f126890aSEmmanuel Vadot pci@2,0 { 66f126890aSEmmanuel Vadot nvidia,num-lanes = <1>; 67f126890aSEmmanuel Vadot }; 68f126890aSEmmanuel Vadot 69f126890aSEmmanuel Vadot pci@3,0 { 70f126890aSEmmanuel Vadot status = "okay"; 71f126890aSEmmanuel Vadot nvidia,num-lanes = <1>; 72f126890aSEmmanuel Vadot }; 73f126890aSEmmanuel Vadot }; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot host1x@50000000 { 76f126890aSEmmanuel Vadot dc@54200000 { 77f126890aSEmmanuel Vadot rgb { 78f126890aSEmmanuel Vadot status = "okay"; 79f126890aSEmmanuel Vadot 80f126890aSEmmanuel Vadot nvidia,panel = <&panel>; 81f126890aSEmmanuel Vadot }; 82f126890aSEmmanuel Vadot }; 83f126890aSEmmanuel Vadot }; 84f126890aSEmmanuel Vadot 85f126890aSEmmanuel Vadot pinmux@70000868 { 86f126890aSEmmanuel Vadot pinctrl-names = "default"; 87f126890aSEmmanuel Vadot pinctrl-0 = <&state_default>; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot state_default: pinmux { 90f126890aSEmmanuel Vadot sdmmc1_clk_pz0 { 91f126890aSEmmanuel Vadot nvidia,pins = "sdmmc1_clk_pz0"; 92f126890aSEmmanuel Vadot nvidia,function = "sdmmc1"; 93f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 94f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 95f126890aSEmmanuel Vadot }; 96f126890aSEmmanuel Vadot sdmmc1_cmd_pz1 { 97f126890aSEmmanuel Vadot nvidia,pins = "sdmmc1_cmd_pz1", 98f126890aSEmmanuel Vadot "sdmmc1_dat0_py7", 99f126890aSEmmanuel Vadot "sdmmc1_dat1_py6", 100f126890aSEmmanuel Vadot "sdmmc1_dat2_py5", 101f126890aSEmmanuel Vadot "sdmmc1_dat3_py4"; 102f126890aSEmmanuel Vadot nvidia,function = "sdmmc1"; 103f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 104f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 105f126890aSEmmanuel Vadot }; 106f126890aSEmmanuel Vadot sdmmc3_clk_pa6 { 107f126890aSEmmanuel Vadot nvidia,pins = "sdmmc3_clk_pa6"; 108f126890aSEmmanuel Vadot nvidia,function = "sdmmc3"; 109f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 110f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 111f126890aSEmmanuel Vadot }; 112f126890aSEmmanuel Vadot sdmmc3_cmd_pa7 { 113f126890aSEmmanuel Vadot nvidia,pins = "sdmmc3_cmd_pa7", 114f126890aSEmmanuel Vadot "sdmmc3_dat0_pb7", 115f126890aSEmmanuel Vadot "sdmmc3_dat1_pb6", 116f126890aSEmmanuel Vadot "sdmmc3_dat2_pb5", 117f126890aSEmmanuel Vadot "sdmmc3_dat3_pb4"; 118f126890aSEmmanuel Vadot nvidia,function = "sdmmc3"; 119f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 120f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 121f126890aSEmmanuel Vadot }; 122f126890aSEmmanuel Vadot sdmmc4_clk_pcc4 { 123f126890aSEmmanuel Vadot nvidia,pins = "sdmmc4_clk_pcc4", 124f126890aSEmmanuel Vadot "sdmmc4_rst_n_pcc3"; 125f126890aSEmmanuel Vadot nvidia,function = "sdmmc4"; 126f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 127f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 128f126890aSEmmanuel Vadot }; 129f126890aSEmmanuel Vadot sdmmc4_dat0_paa0 { 130f126890aSEmmanuel Vadot nvidia,pins = "sdmmc4_dat0_paa0", 131f126890aSEmmanuel Vadot "sdmmc4_dat1_paa1", 132f126890aSEmmanuel Vadot "sdmmc4_dat2_paa2", 133f126890aSEmmanuel Vadot "sdmmc4_dat3_paa3", 134f126890aSEmmanuel Vadot "sdmmc4_dat4_paa4", 135f126890aSEmmanuel Vadot "sdmmc4_dat5_paa5", 136f126890aSEmmanuel Vadot "sdmmc4_dat6_paa6", 137f126890aSEmmanuel Vadot "sdmmc4_dat7_paa7"; 138f126890aSEmmanuel Vadot nvidia,function = "sdmmc4"; 139f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 140f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 141f126890aSEmmanuel Vadot }; 142f126890aSEmmanuel Vadot dap2_fs_pa2 { 143f126890aSEmmanuel Vadot nvidia,pins = "dap2_fs_pa2", 144f126890aSEmmanuel Vadot "dap2_sclk_pa3", 145f126890aSEmmanuel Vadot "dap2_din_pa4", 146f126890aSEmmanuel Vadot "dap2_dout_pa5"; 147f126890aSEmmanuel Vadot nvidia,function = "i2s1"; 148f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 149f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 150f126890aSEmmanuel Vadot }; 151f126890aSEmmanuel Vadot sdio3 { 152f126890aSEmmanuel Vadot nvidia,pins = "drive_sdio3"; 153f126890aSEmmanuel Vadot nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>; 154f126890aSEmmanuel Vadot nvidia,schmitt = <TEGRA_PIN_DISABLE>; 155f126890aSEmmanuel Vadot nvidia,pull-down-strength = <46>; 156f126890aSEmmanuel Vadot nvidia,pull-up-strength = <42>; 157f126890aSEmmanuel Vadot nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>; 158f126890aSEmmanuel Vadot nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>; 159f126890aSEmmanuel Vadot }; 160f126890aSEmmanuel Vadot uart3_txd_pw6 { 161f126890aSEmmanuel Vadot nvidia,pins = "uart3_txd_pw6", 162f126890aSEmmanuel Vadot "uart3_cts_n_pa1", 163f126890aSEmmanuel Vadot "uart3_rts_n_pc0", 164f126890aSEmmanuel Vadot "uart3_rxd_pw7"; 165f126890aSEmmanuel Vadot nvidia,function = "uartc"; 166f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 167f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 168f126890aSEmmanuel Vadot }; 169f126890aSEmmanuel Vadot }; 170f126890aSEmmanuel Vadot }; 171f126890aSEmmanuel Vadot 172f126890aSEmmanuel Vadot serial@70006000 { 173*aa1a8ff2SEmmanuel Vadot /delete-property/ dmas; 174*aa1a8ff2SEmmanuel Vadot /delete-property/ dma-names; 175f126890aSEmmanuel Vadot status = "okay"; 176f126890aSEmmanuel Vadot }; 177f126890aSEmmanuel Vadot 178f126890aSEmmanuel Vadot serial@70006200 { 179f126890aSEmmanuel Vadot compatible = "nvidia,tegra30-hsuart"; 180*aa1a8ff2SEmmanuel Vadot reset-names = "serial"; 181f126890aSEmmanuel Vadot /delete-property/ reg-shift; 182f126890aSEmmanuel Vadot status = "okay"; 183f126890aSEmmanuel Vadot }; 184f126890aSEmmanuel Vadot 185f126890aSEmmanuel Vadot pwm@7000a000 { 186f126890aSEmmanuel Vadot status = "okay"; 187f126890aSEmmanuel Vadot }; 188f126890aSEmmanuel Vadot 189f126890aSEmmanuel Vadot panelddc: i2c@7000c000 { 190f126890aSEmmanuel Vadot status = "okay"; 191f126890aSEmmanuel Vadot clock-frequency = <100000>; 192f126890aSEmmanuel Vadot }; 193f126890aSEmmanuel Vadot 194f126890aSEmmanuel Vadot i2c@7000c400 { 195f126890aSEmmanuel Vadot status = "okay"; 196f126890aSEmmanuel Vadot clock-frequency = <100000>; 197f126890aSEmmanuel Vadot }; 198f126890aSEmmanuel Vadot 199f126890aSEmmanuel Vadot i2c@7000c500 { 200f126890aSEmmanuel Vadot status = "okay"; 201f126890aSEmmanuel Vadot clock-frequency = <100000>; 202f126890aSEmmanuel Vadot 203f126890aSEmmanuel Vadot /* ALS and Proximity sensor */ 204f126890aSEmmanuel Vadot isl29028@44 { 205f126890aSEmmanuel Vadot compatible = "isil,isl29028"; 206f126890aSEmmanuel Vadot reg = <0x44>; 207f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 208f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(L, 0) IRQ_TYPE_LEVEL_HIGH>; 209f126890aSEmmanuel Vadot }; 210f126890aSEmmanuel Vadot 211f126890aSEmmanuel Vadot i2cmux@70 { 212f126890aSEmmanuel Vadot compatible = "nxp,pca9546"; 213f126890aSEmmanuel Vadot #address-cells = <1>; 214f126890aSEmmanuel Vadot #size-cells = <0>; 215f126890aSEmmanuel Vadot reg = <0x70>; 216f126890aSEmmanuel Vadot reset-gpios = <&gpio TEGRA_GPIO(BB, 0) GPIO_ACTIVE_LOW>; 217f126890aSEmmanuel Vadot }; 218f126890aSEmmanuel Vadot }; 219f126890aSEmmanuel Vadot 220f126890aSEmmanuel Vadot i2c@7000c700 { 221f126890aSEmmanuel Vadot status = "okay"; 222f126890aSEmmanuel Vadot clock-frequency = <100000>; 223f126890aSEmmanuel Vadot }; 224f126890aSEmmanuel Vadot 225f126890aSEmmanuel Vadot i2c@7000d000 { 226f126890aSEmmanuel Vadot status = "okay"; 227f126890aSEmmanuel Vadot clock-frequency = <100000>; 228f126890aSEmmanuel Vadot 229f126890aSEmmanuel Vadot wm8903: wm8903@1a { 230f126890aSEmmanuel Vadot compatible = "wlf,wm8903"; 231f126890aSEmmanuel Vadot reg = <0x1a>; 232f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 233f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>; 234f126890aSEmmanuel Vadot 235f126890aSEmmanuel Vadot gpio-controller; 236f126890aSEmmanuel Vadot #gpio-cells = <2>; 237f126890aSEmmanuel Vadot 238f126890aSEmmanuel Vadot micdet-cfg = <0>; 239f126890aSEmmanuel Vadot micdet-delay = <100>; 240f126890aSEmmanuel Vadot gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; 241f126890aSEmmanuel Vadot }; 242f126890aSEmmanuel Vadot 243f126890aSEmmanuel Vadot pmic: tps65911@2d { 244f126890aSEmmanuel Vadot compatible = "ti,tps65911"; 245f126890aSEmmanuel Vadot reg = <0x2d>; 246f126890aSEmmanuel Vadot 247f126890aSEmmanuel Vadot interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 248f126890aSEmmanuel Vadot #interrupt-cells = <2>; 249f126890aSEmmanuel Vadot interrupt-controller; 250f126890aSEmmanuel Vadot wakeup-source; 251f126890aSEmmanuel Vadot 252f126890aSEmmanuel Vadot ti,system-power-controller; 253f126890aSEmmanuel Vadot 254f126890aSEmmanuel Vadot #gpio-cells = <2>; 255f126890aSEmmanuel Vadot gpio-controller; 256f126890aSEmmanuel Vadot 257f126890aSEmmanuel Vadot vcc1-supply = <&vdd_ac_bat_reg>; 258f126890aSEmmanuel Vadot vcc2-supply = <&vdd_ac_bat_reg>; 259f126890aSEmmanuel Vadot vcc3-supply = <&vio_reg>; 260f126890aSEmmanuel Vadot vcc4-supply = <&vdd_5v0_reg>; 261f126890aSEmmanuel Vadot vcc5-supply = <&vdd_ac_bat_reg>; 262f126890aSEmmanuel Vadot vcc6-supply = <&vdd2_reg>; 263f126890aSEmmanuel Vadot vcc7-supply = <&vdd_ac_bat_reg>; 264f126890aSEmmanuel Vadot vccio-supply = <&vdd_ac_bat_reg>; 265f126890aSEmmanuel Vadot 266f126890aSEmmanuel Vadot regulators { 267f126890aSEmmanuel Vadot vdd1_reg: vdd1 { 268f126890aSEmmanuel Vadot regulator-name = "vddio_ddr_1v2"; 269f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 270f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 271f126890aSEmmanuel Vadot regulator-always-on; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot 274f126890aSEmmanuel Vadot vdd2_reg: vdd2 { 275f126890aSEmmanuel Vadot regulator-name = "vdd_1v5_gen"; 276f126890aSEmmanuel Vadot regulator-min-microvolt = <1500000>; 277f126890aSEmmanuel Vadot regulator-max-microvolt = <1500000>; 278f126890aSEmmanuel Vadot regulator-always-on; 279f126890aSEmmanuel Vadot }; 280f126890aSEmmanuel Vadot 281f126890aSEmmanuel Vadot vddctrl_reg: vddctrl { 282f126890aSEmmanuel Vadot regulator-name = "vdd_cpu,vdd_sys"; 283f126890aSEmmanuel Vadot regulator-min-microvolt = <800000>; 284f126890aSEmmanuel Vadot regulator-max-microvolt = <1250000>; 285f126890aSEmmanuel Vadot regulator-coupled-with = <&vdd_core>; 286f126890aSEmmanuel Vadot regulator-coupled-max-spread = <300000>; 287f126890aSEmmanuel Vadot regulator-max-step-microvolt = <100000>; 288f126890aSEmmanuel Vadot regulator-always-on; 289f126890aSEmmanuel Vadot 290f126890aSEmmanuel Vadot nvidia,tegra-cpu-regulator; 291f126890aSEmmanuel Vadot }; 292f126890aSEmmanuel Vadot 293f126890aSEmmanuel Vadot vio_reg: vio { 294f126890aSEmmanuel Vadot regulator-name = "vdd_1v8_gen"; 295f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 296f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 297f126890aSEmmanuel Vadot regulator-always-on; 298f126890aSEmmanuel Vadot }; 299f126890aSEmmanuel Vadot 300f126890aSEmmanuel Vadot ldo1_reg: ldo1 { 301f126890aSEmmanuel Vadot regulator-name = "vdd_pexa,vdd_pexb"; 302f126890aSEmmanuel Vadot regulator-min-microvolt = <1050000>; 303f126890aSEmmanuel Vadot regulator-max-microvolt = <1050000>; 304f126890aSEmmanuel Vadot }; 305f126890aSEmmanuel Vadot 306f126890aSEmmanuel Vadot ldo2_reg: ldo2 { 307f126890aSEmmanuel Vadot regulator-name = "vdd_sata,avdd_plle"; 308f126890aSEmmanuel Vadot regulator-min-microvolt = <1050000>; 309f126890aSEmmanuel Vadot regulator-max-microvolt = <1050000>; 310f126890aSEmmanuel Vadot }; 311f126890aSEmmanuel Vadot 312f126890aSEmmanuel Vadot /* LDO3 is not connected to anything */ 313f126890aSEmmanuel Vadot 314f126890aSEmmanuel Vadot ldo4_reg: ldo4 { 315f126890aSEmmanuel Vadot regulator-name = "vdd_rtc"; 316f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 317f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 318f126890aSEmmanuel Vadot regulator-always-on; 319f126890aSEmmanuel Vadot }; 320f126890aSEmmanuel Vadot 321f126890aSEmmanuel Vadot ldo5_reg: ldo5 { 322f126890aSEmmanuel Vadot regulator-name = "vddio_sdmmc,avdd_vdac"; 323f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 324f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 325f126890aSEmmanuel Vadot regulator-always-on; 326f126890aSEmmanuel Vadot }; 327f126890aSEmmanuel Vadot 328f126890aSEmmanuel Vadot ldo6_reg: ldo6 { 329f126890aSEmmanuel Vadot regulator-name = "avdd_dsi_csi,pwrdet_mipi"; 330f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 331f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 332f126890aSEmmanuel Vadot }; 333f126890aSEmmanuel Vadot 334f126890aSEmmanuel Vadot ldo7_reg: ldo7 { 335f126890aSEmmanuel Vadot regulator-name = "vdd_pllm,x,u,a_p_c_s"; 336f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 337f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 338f126890aSEmmanuel Vadot regulator-always-on; 339f126890aSEmmanuel Vadot }; 340f126890aSEmmanuel Vadot 341f126890aSEmmanuel Vadot ldo8_reg: ldo8 { 342f126890aSEmmanuel Vadot regulator-name = "vdd_ddr_hs"; 343f126890aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 344f126890aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 345f126890aSEmmanuel Vadot regulator-always-on; 346f126890aSEmmanuel Vadot }; 347f126890aSEmmanuel Vadot }; 348f126890aSEmmanuel Vadot }; 349f126890aSEmmanuel Vadot 350f126890aSEmmanuel Vadot nct1008: temperature-sensor@4c { 351f126890aSEmmanuel Vadot compatible = "onnn,nct1008"; 352f126890aSEmmanuel Vadot reg = <0x4c>; 353f126890aSEmmanuel Vadot vcc-supply = <&sys_3v3_reg>; 354f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 355f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_EDGE_FALLING>; 356f126890aSEmmanuel Vadot #thermal-sensor-cells = <1>; 357f126890aSEmmanuel Vadot }; 358f126890aSEmmanuel Vadot 359f126890aSEmmanuel Vadot vdd_core: tps62361@60 { 360f126890aSEmmanuel Vadot compatible = "ti,tps62361"; 361f126890aSEmmanuel Vadot reg = <0x60>; 362f126890aSEmmanuel Vadot 363f126890aSEmmanuel Vadot regulator-name = "tps62361-vout"; 364f126890aSEmmanuel Vadot regulator-min-microvolt = <500000>; 365f126890aSEmmanuel Vadot regulator-max-microvolt = <1500000>; 366f126890aSEmmanuel Vadot regulator-coupled-with = <&vddctrl_reg>; 367f126890aSEmmanuel Vadot regulator-coupled-max-spread = <300000>; 368f126890aSEmmanuel Vadot regulator-max-step-microvolt = <100000>; 369f126890aSEmmanuel Vadot regulator-boot-on; 370f126890aSEmmanuel Vadot regulator-always-on; 371f126890aSEmmanuel Vadot ti,vsel0-state-high; 372f126890aSEmmanuel Vadot ti,vsel1-state-high; 373f126890aSEmmanuel Vadot 374f126890aSEmmanuel Vadot nvidia,tegra-core-regulator; 375f126890aSEmmanuel Vadot }; 376f126890aSEmmanuel Vadot }; 377f126890aSEmmanuel Vadot 378f126890aSEmmanuel Vadot spi@7000da00 { 379f126890aSEmmanuel Vadot status = "okay"; 380f126890aSEmmanuel Vadot spi-max-frequency = <25000000>; 381f126890aSEmmanuel Vadot 382f126890aSEmmanuel Vadot flash@1 { 383f126890aSEmmanuel Vadot compatible = "winbond,w25q32", "jedec,spi-nor"; 384f126890aSEmmanuel Vadot reg = <1>; 385f126890aSEmmanuel Vadot spi-max-frequency = <20000000>; 386f126890aSEmmanuel Vadot }; 387f126890aSEmmanuel Vadot }; 388f126890aSEmmanuel Vadot 389f126890aSEmmanuel Vadot pmc@7000e400 { 390f126890aSEmmanuel Vadot status = "okay"; 391f126890aSEmmanuel Vadot nvidia,invert-interrupt; 392f126890aSEmmanuel Vadot nvidia,suspend-mode = <1>; 393f126890aSEmmanuel Vadot nvidia,cpu-pwr-good-time = <2000>; 394f126890aSEmmanuel Vadot nvidia,cpu-pwr-off-time = <200>; 395f126890aSEmmanuel Vadot nvidia,core-pwr-good-time = <3845 3845>; 396f126890aSEmmanuel Vadot nvidia,core-pwr-off-time = <0>; 397f126890aSEmmanuel Vadot nvidia,core-power-req-active-high; 398f126890aSEmmanuel Vadot nvidia,sys-clock-req-active-high; 399f126890aSEmmanuel Vadot core-supply = <&vdd_core>; 400f126890aSEmmanuel Vadot }; 401f126890aSEmmanuel Vadot 402f126890aSEmmanuel Vadot ahub@70080000 { 403f126890aSEmmanuel Vadot i2s@70080400 { 404f126890aSEmmanuel Vadot status = "okay"; 405f126890aSEmmanuel Vadot }; 406f126890aSEmmanuel Vadot }; 407f126890aSEmmanuel Vadot 408f126890aSEmmanuel Vadot mmc@78000000 { 409f126890aSEmmanuel Vadot status = "okay"; 410f126890aSEmmanuel Vadot cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 411f126890aSEmmanuel Vadot wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>; 412f126890aSEmmanuel Vadot power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; 413f126890aSEmmanuel Vadot bus-width = <4>; 414f126890aSEmmanuel Vadot }; 415f126890aSEmmanuel Vadot 416f126890aSEmmanuel Vadot mmc@78000600 { 417f126890aSEmmanuel Vadot status = "okay"; 418f126890aSEmmanuel Vadot bus-width = <8>; 419f126890aSEmmanuel Vadot non-removable; 420f126890aSEmmanuel Vadot }; 421f126890aSEmmanuel Vadot 422f126890aSEmmanuel Vadot usb@7d008000 { 423f126890aSEmmanuel Vadot status = "okay"; 424f126890aSEmmanuel Vadot }; 425f126890aSEmmanuel Vadot 426f126890aSEmmanuel Vadot usb-phy@7d008000 { 427f126890aSEmmanuel Vadot vbus-supply = <&usb3_vbus_reg>; 428f126890aSEmmanuel Vadot status = "okay"; 429f126890aSEmmanuel Vadot }; 430f126890aSEmmanuel Vadot 431f126890aSEmmanuel Vadot backlight: backlight { 432f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 433f126890aSEmmanuel Vadot 434f126890aSEmmanuel Vadot enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 435f126890aSEmmanuel Vadot power-supply = <&vdd_bl_reg>; 436f126890aSEmmanuel Vadot pwms = <&pwm 0 5000000>; 437f126890aSEmmanuel Vadot 438f126890aSEmmanuel Vadot brightness-levels = <0 4 8 16 32 64 128 255>; 439f126890aSEmmanuel Vadot default-brightness-level = <6>; 440f126890aSEmmanuel Vadot }; 441f126890aSEmmanuel Vadot 442f126890aSEmmanuel Vadot clk32k_in: clock-32k { 443f126890aSEmmanuel Vadot compatible = "fixed-clock"; 444f126890aSEmmanuel Vadot clock-frequency = <32768>; 445f126890aSEmmanuel Vadot #clock-cells = <0>; 446f126890aSEmmanuel Vadot }; 447f126890aSEmmanuel Vadot 448f126890aSEmmanuel Vadot cpus { 449f126890aSEmmanuel Vadot cpu0: cpu@0 { 450f126890aSEmmanuel Vadot cpu-supply = <&vddctrl_reg>; 451f126890aSEmmanuel Vadot operating-points-v2 = <&cpu0_opp_table>; 452f126890aSEmmanuel Vadot #cooling-cells = <2>; 453f126890aSEmmanuel Vadot }; 454f126890aSEmmanuel Vadot 455f126890aSEmmanuel Vadot cpu1: cpu@1 { 456f126890aSEmmanuel Vadot cpu-supply = <&vddctrl_reg>; 457f126890aSEmmanuel Vadot operating-points-v2 = <&cpu0_opp_table>; 458f126890aSEmmanuel Vadot #cooling-cells = <2>; 459f126890aSEmmanuel Vadot }; 460f126890aSEmmanuel Vadot 461f126890aSEmmanuel Vadot cpu2: cpu@2 { 462f126890aSEmmanuel Vadot cpu-supply = <&vddctrl_reg>; 463f126890aSEmmanuel Vadot operating-points-v2 = <&cpu0_opp_table>; 464f126890aSEmmanuel Vadot #cooling-cells = <2>; 465f126890aSEmmanuel Vadot }; 466f126890aSEmmanuel Vadot 467f126890aSEmmanuel Vadot cpu3: cpu@3 { 468f126890aSEmmanuel Vadot cpu-supply = <&vddctrl_reg>; 469f126890aSEmmanuel Vadot operating-points-v2 = <&cpu0_opp_table>; 470f126890aSEmmanuel Vadot #cooling-cells = <2>; 471f126890aSEmmanuel Vadot }; 472f126890aSEmmanuel Vadot }; 473f126890aSEmmanuel Vadot 474f126890aSEmmanuel Vadot gpio-keys { 475f126890aSEmmanuel Vadot compatible = "gpio-keys"; 476f126890aSEmmanuel Vadot 477f126890aSEmmanuel Vadot key-power { 478f126890aSEmmanuel Vadot label = "Power"; 479f126890aSEmmanuel Vadot interrupt-parent = <&pmic>; 480f126890aSEmmanuel Vadot interrupts = <2 0>; 481f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 482f126890aSEmmanuel Vadot debounce-interval = <100>; 483f126890aSEmmanuel Vadot wakeup-source; 484f126890aSEmmanuel Vadot }; 485f126890aSEmmanuel Vadot 486f126890aSEmmanuel Vadot key-volume-down { 487f126890aSEmmanuel Vadot label = "Volume Down"; 488f126890aSEmmanuel Vadot gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_LOW>; 489f126890aSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 490f126890aSEmmanuel Vadot debounce-interval = <10>; 491f126890aSEmmanuel Vadot }; 492f126890aSEmmanuel Vadot 493f126890aSEmmanuel Vadot key-volume-up { 494f126890aSEmmanuel Vadot label = "Volume Up"; 495f126890aSEmmanuel Vadot gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>; 496f126890aSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 497f126890aSEmmanuel Vadot debounce-interval = <10>; 498f126890aSEmmanuel Vadot }; 499f126890aSEmmanuel Vadot }; 500f126890aSEmmanuel Vadot 501f126890aSEmmanuel Vadot panel: panel { 502f126890aSEmmanuel Vadot compatible = "chunghwa,claa101wb01"; 503f126890aSEmmanuel Vadot ddc-i2c-bus = <&panelddc>; 504f126890aSEmmanuel Vadot 505f126890aSEmmanuel Vadot power-supply = <&vdd_pnl1_reg>; 506f126890aSEmmanuel Vadot enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>; 507f126890aSEmmanuel Vadot 508f126890aSEmmanuel Vadot backlight = <&backlight>; 509f126890aSEmmanuel Vadot }; 510f126890aSEmmanuel Vadot 511f126890aSEmmanuel Vadot vdd_ac_bat_reg: regulator-acbat { 512f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 513f126890aSEmmanuel Vadot regulator-name = "vdd_ac_bat"; 514f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 515f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 516f126890aSEmmanuel Vadot regulator-always-on; 517f126890aSEmmanuel Vadot }; 518f126890aSEmmanuel Vadot 519f126890aSEmmanuel Vadot cam_1v8_reg: regulator-cam { 520f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 521f126890aSEmmanuel Vadot regulator-name = "cam_1v8"; 522f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 523f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 524f126890aSEmmanuel Vadot enable-active-high; 525f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>; 526f126890aSEmmanuel Vadot vin-supply = <&vio_reg>; 527f126890aSEmmanuel Vadot }; 528f126890aSEmmanuel Vadot 529f126890aSEmmanuel Vadot cp_5v_reg: regulator-5v0cp { 530f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 531f126890aSEmmanuel Vadot regulator-name = "cp_5v"; 532f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 533f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 534f126890aSEmmanuel Vadot regulator-boot-on; 535f126890aSEmmanuel Vadot regulator-always-on; 536f126890aSEmmanuel Vadot enable-active-high; 537f126890aSEmmanuel Vadot gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; 538f126890aSEmmanuel Vadot }; 539f126890aSEmmanuel Vadot 540f126890aSEmmanuel Vadot emmc_3v3_reg: regulator-emmc { 541f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 542f126890aSEmmanuel Vadot regulator-name = "emmc_3v3"; 543f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 544f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 545f126890aSEmmanuel Vadot regulator-always-on; 546f126890aSEmmanuel Vadot regulator-boot-on; 547f126890aSEmmanuel Vadot enable-active-high; 548f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>; 549f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 550f126890aSEmmanuel Vadot }; 551f126890aSEmmanuel Vadot 552f126890aSEmmanuel Vadot modem_3v3_reg: regulator-modem { 553f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 554f126890aSEmmanuel Vadot regulator-name = "modem_3v3"; 555f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 556f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 557f126890aSEmmanuel Vadot enable-active-high; 558f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>; 559f126890aSEmmanuel Vadot }; 560f126890aSEmmanuel Vadot 561f126890aSEmmanuel Vadot pex_hvdd_3v3_reg: regulator-pex { 562f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 563f126890aSEmmanuel Vadot regulator-name = "pex_hvdd_3v3"; 564f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 565f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 566f126890aSEmmanuel Vadot enable-active-high; 567f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>; 568f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 569f126890aSEmmanuel Vadot }; 570f126890aSEmmanuel Vadot 571f126890aSEmmanuel Vadot vdd_cam1_ldo_reg: regulator-cam1 { 572f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 573f126890aSEmmanuel Vadot regulator-name = "vdd_cam1_ldo"; 574f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 575f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 576f126890aSEmmanuel Vadot enable-active-high; 577f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>; 578f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 579f126890aSEmmanuel Vadot }; 580f126890aSEmmanuel Vadot 581f126890aSEmmanuel Vadot vdd_cam2_ldo_reg: regulator-cam2 { 582f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 583f126890aSEmmanuel Vadot regulator-name = "vdd_cam2_ldo"; 584f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 585f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 586f126890aSEmmanuel Vadot enable-active-high; 587f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>; 588f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 589f126890aSEmmanuel Vadot }; 590f126890aSEmmanuel Vadot 591f126890aSEmmanuel Vadot vdd_cam3_ldo_reg: regulator-cam3 { 592f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 593f126890aSEmmanuel Vadot regulator-name = "vdd_cam3_ldo"; 594f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 595f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 596f126890aSEmmanuel Vadot enable-active-high; 597f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>; 598f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 599f126890aSEmmanuel Vadot }; 600f126890aSEmmanuel Vadot 601f126890aSEmmanuel Vadot vdd_com_reg: regulator-com { 602f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 603f126890aSEmmanuel Vadot regulator-name = "vdd_com"; 604f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 605f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 606f126890aSEmmanuel Vadot regulator-always-on; 607f126890aSEmmanuel Vadot regulator-boot-on; 608f126890aSEmmanuel Vadot enable-active-high; 609f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; 610f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 611f126890aSEmmanuel Vadot }; 612f126890aSEmmanuel Vadot 613f126890aSEmmanuel Vadot vdd_fuse_3v3_reg: regulator-fuse { 614f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 615f126890aSEmmanuel Vadot regulator-name = "vdd_fuse_3v3"; 616f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 617f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 618f126890aSEmmanuel Vadot enable-active-high; 619f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>; 620f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 621f126890aSEmmanuel Vadot }; 622f126890aSEmmanuel Vadot 623f126890aSEmmanuel Vadot vdd_pnl1_reg: regulator-pnl1 { 624f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 625f126890aSEmmanuel Vadot regulator-name = "vdd_pnl1"; 626f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 627f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 628f126890aSEmmanuel Vadot regulator-always-on; 629f126890aSEmmanuel Vadot regulator-boot-on; 630f126890aSEmmanuel Vadot enable-active-high; 631f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>; 632f126890aSEmmanuel Vadot vin-supply = <&sys_3v3_reg>; 633f126890aSEmmanuel Vadot }; 634f126890aSEmmanuel Vadot 635f126890aSEmmanuel Vadot vdd_vid_reg: regulator-vid { 636f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 637f126890aSEmmanuel Vadot regulator-name = "vddio_vid"; 638f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 639f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 640f126890aSEmmanuel Vadot enable-active-high; 641f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>; 642f126890aSEmmanuel Vadot gpio-open-drain; 643f126890aSEmmanuel Vadot vin-supply = <&vdd_5v0_reg>; 644f126890aSEmmanuel Vadot }; 645f126890aSEmmanuel Vadot 646f126890aSEmmanuel Vadot sound { 647f126890aSEmmanuel Vadot compatible = "nvidia,tegra-audio-wm8903-cardhu", 648f126890aSEmmanuel Vadot "nvidia,tegra-audio-wm8903"; 649f126890aSEmmanuel Vadot nvidia,model = "NVIDIA Tegra Cardhu"; 650f126890aSEmmanuel Vadot 651f126890aSEmmanuel Vadot nvidia,audio-routing = 652f126890aSEmmanuel Vadot "Headphone Jack", "HPOUTR", 653f126890aSEmmanuel Vadot "Headphone Jack", "HPOUTL", 654f126890aSEmmanuel Vadot "Int Spk", "ROP", 655f126890aSEmmanuel Vadot "Int Spk", "RON", 656f126890aSEmmanuel Vadot "Int Spk", "LOP", 657f126890aSEmmanuel Vadot "Int Spk", "LON", 658f126890aSEmmanuel Vadot "Mic Jack", "MICBIAS", 659f126890aSEmmanuel Vadot "IN1L", "Mic Jack"; 660f126890aSEmmanuel Vadot 661f126890aSEmmanuel Vadot nvidia,i2s-controller = <&tegra_i2s1>; 662f126890aSEmmanuel Vadot nvidia,audio-codec = <&wm8903>; 663f126890aSEmmanuel Vadot 664f126890aSEmmanuel Vadot nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; 665f126890aSEmmanuel Vadot nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) 666f126890aSEmmanuel Vadot GPIO_ACTIVE_LOW>; 667f126890aSEmmanuel Vadot 668f126890aSEmmanuel Vadot clocks = <&tegra_car TEGRA30_CLK_PLL_A>, 669f126890aSEmmanuel Vadot <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 670f126890aSEmmanuel Vadot <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 671f126890aSEmmanuel Vadot clock-names = "pll_a", "pll_a_out0", "mclk"; 672f126890aSEmmanuel Vadot 673f126890aSEmmanuel Vadot assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>, 674f126890aSEmmanuel Vadot <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 675f126890aSEmmanuel Vadot 676f126890aSEmmanuel Vadot assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 677f126890aSEmmanuel Vadot <&tegra_car TEGRA30_CLK_EXTERN1>; 678f126890aSEmmanuel Vadot }; 679f126890aSEmmanuel Vadot 680f126890aSEmmanuel Vadot thermal-zones { 681f126890aSEmmanuel Vadot cpu-thermal { 682f126890aSEmmanuel Vadot polling-delay-passive = <1000>; /* milliseconds */ 683f126890aSEmmanuel Vadot polling-delay = <5000>; /* milliseconds */ 684f126890aSEmmanuel Vadot 685f126890aSEmmanuel Vadot thermal-sensors = <&nct1008 1>; 686f126890aSEmmanuel Vadot 687f126890aSEmmanuel Vadot trips { 688f126890aSEmmanuel Vadot trip0: cpu-alert0 { 689f126890aSEmmanuel Vadot /* throttle at 57C until temperature drops to 56.8C */ 690f126890aSEmmanuel Vadot temperature = <57000>; 691f126890aSEmmanuel Vadot hysteresis = <200>; 692f126890aSEmmanuel Vadot type = "passive"; 693f126890aSEmmanuel Vadot }; 694f126890aSEmmanuel Vadot 695f126890aSEmmanuel Vadot trip1: cpu-crit { 696f126890aSEmmanuel Vadot /* shut down at 60C */ 697f126890aSEmmanuel Vadot temperature = <60000>; 698f126890aSEmmanuel Vadot hysteresis = <2000>; 699f126890aSEmmanuel Vadot type = "critical"; 700f126890aSEmmanuel Vadot }; 701f126890aSEmmanuel Vadot }; 702f126890aSEmmanuel Vadot 703f126890aSEmmanuel Vadot cooling-maps { 704f126890aSEmmanuel Vadot map0 { 705f126890aSEmmanuel Vadot trip = <&trip0>; 706f126890aSEmmanuel Vadot cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 707f126890aSEmmanuel Vadot <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 708f126890aSEmmanuel Vadot <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 709f126890aSEmmanuel Vadot <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 710f126890aSEmmanuel Vadot }; 711f126890aSEmmanuel Vadot }; 712f126890aSEmmanuel Vadot }; 713f126890aSEmmanuel Vadot }; 714f126890aSEmmanuel Vadot}; 715