1724ba675SRob Herring/* 2724ba675SRob Herring * Copyright 2015 Vishnu Patekar 3724ba675SRob Herring * 4724ba675SRob Herring * Vishnu Patekar <vishnupatekar0510@gmail.com> 5724ba675SRob Herring * 6724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms 7724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual 8724ba675SRob Herring * licensing only applies to this file, and not this project as a 9724ba675SRob Herring * whole. 10724ba675SRob Herring * 11724ba675SRob Herring * a) This file is free software; you can redistribute it and/or 12724ba675SRob Herring * modify it under the terms of the GNU General Public License as 13724ba675SRob Herring * published by the Free Software Foundation; either version 2 of the 14724ba675SRob Herring * License, or (at your option) any later version. 15724ba675SRob Herring * 16724ba675SRob Herring * This file is distributed in the hope that it will be useful, 17724ba675SRob Herring * but WITHOUT ANY WARRANTY; without even the implied warranty of 18724ba675SRob Herring * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19724ba675SRob Herring * GNU General Public License for more details. 20724ba675SRob Herring * 21724ba675SRob Herring * Or, alternatively, 22724ba675SRob Herring * 23724ba675SRob Herring * b) Permission is hereby granted, free of charge, to any person 24724ba675SRob Herring * obtaining a copy of this software and associated documentation 25724ba675SRob Herring * files (the "Software"), to deal in the Software without 26724ba675SRob Herring * restriction, including without limitation the rights to use, 27724ba675SRob Herring * copy, modify, merge, publish, distribute, sublicense, and/or 28724ba675SRob Herring * sell copies of the Software, and to permit persons to whom the 29724ba675SRob Herring * Software is furnished to do so, subject to the following 30724ba675SRob Herring * conditions: 31724ba675SRob Herring * 32724ba675SRob Herring * The above copyright notice and this permission notice shall be 33724ba675SRob Herring * included in all copies or substantial portions of the Software. 34724ba675SRob Herring * 35724ba675SRob Herring * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 36724ba675SRob Herring * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 37724ba675SRob Herring * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 38724ba675SRob Herring * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 39724ba675SRob Herring * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 40724ba675SRob Herring * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 41724ba675SRob Herring * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 42724ba675SRob Herring * OTHER DEALINGS IN THE SOFTWARE. 43724ba675SRob Herring */ 44724ba675SRob Herring 45724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 46724ba675SRob Herring 47724ba675SRob Herring#include <dt-bindings/clock/sun8i-a83t-ccu.h> 48724ba675SRob Herring#include <dt-bindings/clock/sun8i-de2.h> 49724ba675SRob Herring#include <dt-bindings/clock/sun8i-r-ccu.h> 50724ba675SRob Herring#include <dt-bindings/reset/sun8i-a83t-ccu.h> 51724ba675SRob Herring#include <dt-bindings/reset/sun8i-de2.h> 52724ba675SRob Herring#include <dt-bindings/reset/sun8i-r-ccu.h> 53724ba675SRob Herring#include <dt-bindings/thermal/thermal.h> 54724ba675SRob Herring 55724ba675SRob Herring/ { 56724ba675SRob Herring interrupt-parent = <&gic>; 57724ba675SRob Herring #address-cells = <1>; 58724ba675SRob Herring #size-cells = <1>; 59724ba675SRob Herring 60724ba675SRob Herring cpus { 61724ba675SRob Herring #address-cells = <1>; 62724ba675SRob Herring #size-cells = <0>; 63724ba675SRob Herring 64724ba675SRob Herring cpu0: cpu@0 { 65724ba675SRob Herring compatible = "arm,cortex-a7"; 66724ba675SRob Herring device_type = "cpu"; 67724ba675SRob Herring clocks = <&ccu CLK_C0CPUX>; 68724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 69724ba675SRob Herring cci-control-port = <&cci_control0>; 70724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 71724ba675SRob Herring reg = <0>; 72724ba675SRob Herring #cooling-cells = <2>; 73724ba675SRob Herring }; 74724ba675SRob Herring 75724ba675SRob Herring cpu1: cpu@1 { 76724ba675SRob Herring compatible = "arm,cortex-a7"; 77724ba675SRob Herring device_type = "cpu"; 78724ba675SRob Herring clocks = <&ccu CLK_C0CPUX>; 79724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 80724ba675SRob Herring cci-control-port = <&cci_control0>; 81724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 82724ba675SRob Herring reg = <1>; 83724ba675SRob Herring #cooling-cells = <2>; 84724ba675SRob Herring }; 85724ba675SRob Herring 86724ba675SRob Herring cpu2: cpu@2 { 87724ba675SRob Herring compatible = "arm,cortex-a7"; 88724ba675SRob Herring device_type = "cpu"; 89724ba675SRob Herring clocks = <&ccu CLK_C0CPUX>; 90724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 91724ba675SRob Herring cci-control-port = <&cci_control0>; 92724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 93724ba675SRob Herring reg = <2>; 94724ba675SRob Herring #cooling-cells = <2>; 95724ba675SRob Herring }; 96724ba675SRob Herring 97724ba675SRob Herring cpu3: cpu@3 { 98724ba675SRob Herring compatible = "arm,cortex-a7"; 99724ba675SRob Herring device_type = "cpu"; 100724ba675SRob Herring clocks = <&ccu CLK_C0CPUX>; 101724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 102724ba675SRob Herring cci-control-port = <&cci_control0>; 103724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 104724ba675SRob Herring reg = <3>; 105724ba675SRob Herring #cooling-cells = <2>; 106724ba675SRob Herring }; 107724ba675SRob Herring 108724ba675SRob Herring cpu100: cpu@100 { 109724ba675SRob Herring compatible = "arm,cortex-a7"; 110724ba675SRob Herring device_type = "cpu"; 111724ba675SRob Herring clocks = <&ccu CLK_C1CPUX>; 112724ba675SRob Herring operating-points-v2 = <&cpu1_opp_table>; 113724ba675SRob Herring cci-control-port = <&cci_control1>; 114724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 115724ba675SRob Herring reg = <0x100>; 116724ba675SRob Herring #cooling-cells = <2>; 117724ba675SRob Herring }; 118724ba675SRob Herring 119724ba675SRob Herring cpu101: cpu@101 { 120724ba675SRob Herring compatible = "arm,cortex-a7"; 121724ba675SRob Herring device_type = "cpu"; 122724ba675SRob Herring clocks = <&ccu CLK_C1CPUX>; 123724ba675SRob Herring operating-points-v2 = <&cpu1_opp_table>; 124724ba675SRob Herring cci-control-port = <&cci_control1>; 125724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 126724ba675SRob Herring reg = <0x101>; 127724ba675SRob Herring #cooling-cells = <2>; 128724ba675SRob Herring }; 129724ba675SRob Herring 130724ba675SRob Herring cpu102: cpu@102 { 131724ba675SRob Herring compatible = "arm,cortex-a7"; 132724ba675SRob Herring device_type = "cpu"; 133724ba675SRob Herring clocks = <&ccu CLK_C1CPUX>; 134724ba675SRob Herring operating-points-v2 = <&cpu1_opp_table>; 135724ba675SRob Herring cci-control-port = <&cci_control1>; 136724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 137724ba675SRob Herring reg = <0x102>; 138724ba675SRob Herring #cooling-cells = <2>; 139724ba675SRob Herring }; 140724ba675SRob Herring 141724ba675SRob Herring cpu103: cpu@103 { 142724ba675SRob Herring compatible = "arm,cortex-a7"; 143724ba675SRob Herring device_type = "cpu"; 144724ba675SRob Herring clocks = <&ccu CLK_C1CPUX>; 145724ba675SRob Herring operating-points-v2 = <&cpu1_opp_table>; 146724ba675SRob Herring cci-control-port = <&cci_control1>; 147724ba675SRob Herring enable-method = "allwinner,sun8i-a83t-smp"; 148724ba675SRob Herring reg = <0x103>; 149724ba675SRob Herring #cooling-cells = <2>; 150724ba675SRob Herring }; 151724ba675SRob Herring }; 152724ba675SRob Herring 153724ba675SRob Herring timer { 154724ba675SRob Herring compatible = "arm,armv7-timer"; 155724ba675SRob Herring interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 156724ba675SRob Herring <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 157724ba675SRob Herring <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 158724ba675SRob Herring <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; 159724ba675SRob Herring }; 160724ba675SRob Herring 161724ba675SRob Herring clocks { 162724ba675SRob Herring #address-cells = <1>; 163724ba675SRob Herring #size-cells = <1>; 164724ba675SRob Herring ranges; 165724ba675SRob Herring 166724ba675SRob Herring /* TODO: PRCM block has a mux for this. */ 167*0f47ef3fSKrzysztof Kozlowski osc24M: osc24M-clk { 168724ba675SRob Herring #clock-cells = <0>; 169724ba675SRob Herring compatible = "fixed-clock"; 170724ba675SRob Herring clock-frequency = <24000000>; 171724ba675SRob Herring clock-accuracy = <50000>; 172724ba675SRob Herring clock-output-names = "osc24M"; 173724ba675SRob Herring }; 174724ba675SRob Herring 175724ba675SRob Herring /* 176724ba675SRob Herring * This is called "internal OSC" in some places. 177724ba675SRob Herring * It is an internal RC-based oscillator. 178724ba675SRob Herring * TODO: Its controls are in the PRCM block. 179724ba675SRob Herring */ 180*0f47ef3fSKrzysztof Kozlowski osc16M: osc16M-clk { 181724ba675SRob Herring #clock-cells = <0>; 182724ba675SRob Herring compatible = "fixed-clock"; 183724ba675SRob Herring clock-frequency = <16000000>; 184724ba675SRob Herring clock-output-names = "osc16M"; 185724ba675SRob Herring }; 186724ba675SRob Herring 187*0f47ef3fSKrzysztof Kozlowski osc16Md512: osc16Md512-clk { 188724ba675SRob Herring #clock-cells = <0>; 189724ba675SRob Herring compatible = "fixed-factor-clock"; 190724ba675SRob Herring clock-div = <512>; 191724ba675SRob Herring clock-mult = <1>; 192724ba675SRob Herring clocks = <&osc16M>; 193724ba675SRob Herring clock-output-names = "osc16M-d512"; 194724ba675SRob Herring }; 195724ba675SRob Herring }; 196724ba675SRob Herring 197724ba675SRob Herring de: display-engine { 198724ba675SRob Herring compatible = "allwinner,sun8i-a83t-display-engine"; 199724ba675SRob Herring allwinner,pipelines = <&mixer0>, <&mixer1>; 200724ba675SRob Herring status = "disabled"; 201724ba675SRob Herring }; 202724ba675SRob Herring 203724ba675SRob Herring cpu0_opp_table: opp-table-cluster0 { 204724ba675SRob Herring compatible = "operating-points-v2"; 205724ba675SRob Herring opp-shared; 206724ba675SRob Herring 207724ba675SRob Herring opp-480000000 { 208724ba675SRob Herring opp-hz = /bits/ 64 <480000000>; 209724ba675SRob Herring opp-microvolt = <840000>; 210724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 211724ba675SRob Herring }; 212724ba675SRob Herring 213724ba675SRob Herring opp-600000000 { 214724ba675SRob Herring opp-hz = /bits/ 64 <600000000>; 215724ba675SRob Herring opp-microvolt = <840000>; 216724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 217724ba675SRob Herring }; 218724ba675SRob Herring 219724ba675SRob Herring opp-720000000 { 220724ba675SRob Herring opp-hz = /bits/ 64 <720000000>; 221724ba675SRob Herring opp-microvolt = <840000>; 222724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 223724ba675SRob Herring }; 224724ba675SRob Herring 225724ba675SRob Herring opp-864000000 { 226724ba675SRob Herring opp-hz = /bits/ 64 <864000000>; 227724ba675SRob Herring opp-microvolt = <840000>; 228724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 229724ba675SRob Herring }; 230724ba675SRob Herring 231724ba675SRob Herring opp-912000000 { 232724ba675SRob Herring opp-hz = /bits/ 64 <912000000>; 233724ba675SRob Herring opp-microvolt = <840000>; 234724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 235724ba675SRob Herring }; 236724ba675SRob Herring 237724ba675SRob Herring opp-1008000000 { 238724ba675SRob Herring opp-hz = /bits/ 64 <1008000000>; 239724ba675SRob Herring opp-microvolt = <840000>; 240724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 241724ba675SRob Herring }; 242724ba675SRob Herring 243724ba675SRob Herring opp-1128000000 { 244724ba675SRob Herring opp-hz = /bits/ 64 <1128000000>; 245724ba675SRob Herring opp-microvolt = <840000>; 246724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 247724ba675SRob Herring }; 248724ba675SRob Herring 249724ba675SRob Herring opp-1200000000 { 250724ba675SRob Herring opp-hz = /bits/ 64 <1200000000>; 251724ba675SRob Herring opp-microvolt = <840000>; 252724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 253724ba675SRob Herring }; 254724ba675SRob Herring }; 255724ba675SRob Herring 256724ba675SRob Herring cpu1_opp_table: opp-table-cluster1 { 257724ba675SRob Herring compatible = "operating-points-v2"; 258724ba675SRob Herring opp-shared; 259724ba675SRob Herring 260724ba675SRob Herring opp-480000000 { 261724ba675SRob Herring opp-hz = /bits/ 64 <480000000>; 262724ba675SRob Herring opp-microvolt = <840000>; 263724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 264724ba675SRob Herring }; 265724ba675SRob Herring 266724ba675SRob Herring opp-600000000 { 267724ba675SRob Herring opp-hz = /bits/ 64 <600000000>; 268724ba675SRob Herring opp-microvolt = <840000>; 269724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 270724ba675SRob Herring }; 271724ba675SRob Herring 272724ba675SRob Herring opp-720000000 { 273724ba675SRob Herring opp-hz = /bits/ 64 <720000000>; 274724ba675SRob Herring opp-microvolt = <840000>; 275724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 276724ba675SRob Herring }; 277724ba675SRob Herring 278724ba675SRob Herring opp-864000000 { 279724ba675SRob Herring opp-hz = /bits/ 64 <864000000>; 280724ba675SRob Herring opp-microvolt = <840000>; 281724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 282724ba675SRob Herring }; 283724ba675SRob Herring 284724ba675SRob Herring opp-912000000 { 285724ba675SRob Herring opp-hz = /bits/ 64 <912000000>; 286724ba675SRob Herring opp-microvolt = <840000>; 287724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 288724ba675SRob Herring }; 289724ba675SRob Herring 290724ba675SRob Herring opp-1008000000 { 291724ba675SRob Herring opp-hz = /bits/ 64 <1008000000>; 292724ba675SRob Herring opp-microvolt = <840000>; 293724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 294724ba675SRob Herring }; 295724ba675SRob Herring 296724ba675SRob Herring opp-1128000000 { 297724ba675SRob Herring opp-hz = /bits/ 64 <1128000000>; 298724ba675SRob Herring opp-microvolt = <840000>; 299724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 300724ba675SRob Herring }; 301724ba675SRob Herring 302724ba675SRob Herring opp-1200000000 { 303724ba675SRob Herring opp-hz = /bits/ 64 <1200000000>; 304724ba675SRob Herring opp-microvolt = <840000>; 305724ba675SRob Herring clock-latency-ns = <244144>; /* 8 32k periods */ 306724ba675SRob Herring }; 307724ba675SRob Herring }; 308724ba675SRob Herring 309724ba675SRob Herring soc { 310724ba675SRob Herring compatible = "simple-bus"; 311724ba675SRob Herring #address-cells = <1>; 312724ba675SRob Herring #size-cells = <1>; 313724ba675SRob Herring ranges; 314724ba675SRob Herring 315724ba675SRob Herring display_clocks: clock@1000000 { 316724ba675SRob Herring compatible = "allwinner,sun8i-a83t-de2-clk"; 317724ba675SRob Herring reg = <0x01000000 0x10000>; 318724ba675SRob Herring clocks = <&ccu CLK_BUS_DE>, 319724ba675SRob Herring <&ccu CLK_PLL_DE>; 320724ba675SRob Herring clock-names = "bus", 321724ba675SRob Herring "mod"; 322724ba675SRob Herring resets = <&ccu RST_BUS_DE>; 323724ba675SRob Herring #clock-cells = <1>; 324724ba675SRob Herring #reset-cells = <1>; 325724ba675SRob Herring }; 326724ba675SRob Herring 327724ba675SRob Herring rotate: rotate@1020000 { 328724ba675SRob Herring compatible = "allwinner,sun8i-a83t-de2-rotate"; 329724ba675SRob Herring reg = <0x1020000 0x10000>; 330724ba675SRob Herring interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 331724ba675SRob Herring clocks = <&display_clocks CLK_BUS_ROT>, 332724ba675SRob Herring <&display_clocks CLK_ROT>; 333724ba675SRob Herring clock-names = "bus", 334724ba675SRob Herring "mod"; 335724ba675SRob Herring resets = <&display_clocks RST_ROT>; 336724ba675SRob Herring }; 337724ba675SRob Herring 338724ba675SRob Herring mixer0: mixer@1100000 { 339724ba675SRob Herring compatible = "allwinner,sun8i-a83t-de2-mixer-0"; 340724ba675SRob Herring reg = <0x01100000 0x100000>; 341724ba675SRob Herring clocks = <&display_clocks CLK_BUS_MIXER0>, 342724ba675SRob Herring <&display_clocks CLK_MIXER0>; 343724ba675SRob Herring clock-names = "bus", 344724ba675SRob Herring "mod"; 345724ba675SRob Herring resets = <&display_clocks RST_MIXER0>; 346724ba675SRob Herring 347724ba675SRob Herring ports { 348724ba675SRob Herring #address-cells = <1>; 349724ba675SRob Herring #size-cells = <0>; 350724ba675SRob Herring 351724ba675SRob Herring mixer0_out: port@1 { 352724ba675SRob Herring #address-cells = <1>; 353724ba675SRob Herring #size-cells = <0>; 354724ba675SRob Herring reg = <1>; 355724ba675SRob Herring 356724ba675SRob Herring mixer0_out_tcon0: endpoint@0 { 357724ba675SRob Herring reg = <0>; 358724ba675SRob Herring remote-endpoint = <&tcon0_in_mixer0>; 359724ba675SRob Herring }; 360724ba675SRob Herring 361724ba675SRob Herring mixer0_out_tcon1: endpoint@1 { 362724ba675SRob Herring reg = <1>; 363724ba675SRob Herring remote-endpoint = <&tcon1_in_mixer0>; 364724ba675SRob Herring }; 365724ba675SRob Herring }; 366724ba675SRob Herring }; 367724ba675SRob Herring }; 368724ba675SRob Herring 369724ba675SRob Herring mixer1: mixer@1200000 { 370724ba675SRob Herring compatible = "allwinner,sun8i-a83t-de2-mixer-1"; 371724ba675SRob Herring reg = <0x01200000 0x100000>; 372724ba675SRob Herring clocks = <&display_clocks CLK_BUS_MIXER1>, 373724ba675SRob Herring <&display_clocks CLK_MIXER1>; 374724ba675SRob Herring clock-names = "bus", 375724ba675SRob Herring "mod"; 376724ba675SRob Herring resets = <&display_clocks RST_WB>; 377724ba675SRob Herring 378724ba675SRob Herring ports { 379724ba675SRob Herring #address-cells = <1>; 380724ba675SRob Herring #size-cells = <0>; 381724ba675SRob Herring 382724ba675SRob Herring mixer1_out: port@1 { 383724ba675SRob Herring #address-cells = <1>; 384724ba675SRob Herring #size-cells = <0>; 385724ba675SRob Herring reg = <1>; 386724ba675SRob Herring 387724ba675SRob Herring mixer1_out_tcon0: endpoint@0 { 388724ba675SRob Herring reg = <0>; 389724ba675SRob Herring remote-endpoint = <&tcon0_in_mixer1>; 390724ba675SRob Herring }; 391724ba675SRob Herring 392724ba675SRob Herring mixer1_out_tcon1: endpoint@1 { 393724ba675SRob Herring reg = <1>; 394724ba675SRob Herring remote-endpoint = <&tcon1_in_mixer1>; 395724ba675SRob Herring }; 396724ba675SRob Herring }; 397724ba675SRob Herring }; 398724ba675SRob Herring }; 399724ba675SRob Herring 400724ba675SRob Herring cpucfg@1700000 { 401724ba675SRob Herring compatible = "allwinner,sun8i-a83t-cpucfg"; 402724ba675SRob Herring reg = <0x01700000 0x400>; 403724ba675SRob Herring }; 404724ba675SRob Herring 405724ba675SRob Herring cci@1790000 { 406724ba675SRob Herring compatible = "arm,cci-400"; 407724ba675SRob Herring #address-cells = <1>; 408724ba675SRob Herring #size-cells = <1>; 409724ba675SRob Herring reg = <0x01790000 0x10000>; 410724ba675SRob Herring ranges = <0x0 0x01790000 0x10000>; 411724ba675SRob Herring 412724ba675SRob Herring cci_control0: slave-if@4000 { 413724ba675SRob Herring compatible = "arm,cci-400-ctrl-if"; 414724ba675SRob Herring interface-type = "ace"; 415724ba675SRob Herring reg = <0x4000 0x1000>; 416724ba675SRob Herring }; 417724ba675SRob Herring 418724ba675SRob Herring cci_control1: slave-if@5000 { 419724ba675SRob Herring compatible = "arm,cci-400-ctrl-if"; 420724ba675SRob Herring interface-type = "ace"; 421724ba675SRob Herring reg = <0x5000 0x1000>; 422724ba675SRob Herring }; 423724ba675SRob Herring 424724ba675SRob Herring pmu@9000 { 425724ba675SRob Herring compatible = "arm,cci-400-pmu,r1"; 426724ba675SRob Herring reg = <0x9000 0x5000>; 427724ba675SRob Herring interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, 428724ba675SRob Herring <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, 429724ba675SRob Herring <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, 430724ba675SRob Herring <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, 431724ba675SRob Herring <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>, 432724ba675SRob Herring <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, 433724ba675SRob Herring <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, 434724ba675SRob Herring <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 435724ba675SRob Herring }; 436724ba675SRob Herring }; 437724ba675SRob Herring 438724ba675SRob Herring syscon: syscon@1c00000 { 439724ba675SRob Herring compatible = "allwinner,sun8i-a83t-system-controller", 440724ba675SRob Herring "syscon"; 441724ba675SRob Herring reg = <0x01c00000 0x1000>; 442724ba675SRob Herring }; 443724ba675SRob Herring 444724ba675SRob Herring dma: dma-controller@1c02000 { 445724ba675SRob Herring compatible = "allwinner,sun8i-a83t-dma"; 446724ba675SRob Herring reg = <0x01c02000 0x1000>; 447724ba675SRob Herring interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 448724ba675SRob Herring clocks = <&ccu CLK_BUS_DMA>; 449724ba675SRob Herring resets = <&ccu RST_BUS_DMA>; 450724ba675SRob Herring #dma-cells = <1>; 451724ba675SRob Herring }; 452724ba675SRob Herring 453724ba675SRob Herring tcon0: lcd-controller@1c0c000 { 454724ba675SRob Herring compatible = "allwinner,sun8i-a83t-tcon-lcd"; 455724ba675SRob Herring reg = <0x01c0c000 0x1000>; 456724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 457724ba675SRob Herring clocks = <&ccu CLK_BUS_TCON0>, <&ccu CLK_TCON0>; 458724ba675SRob Herring clock-names = "ahb", "tcon-ch0"; 459724ba675SRob Herring clock-output-names = "tcon-data-clock"; 460724ba675SRob Herring #clock-cells = <0>; 461724ba675SRob Herring resets = <&ccu RST_BUS_TCON0>, <&ccu RST_BUS_LVDS>; 462724ba675SRob Herring reset-names = "lcd", "lvds"; 463724ba675SRob Herring 464724ba675SRob Herring ports { 465724ba675SRob Herring #address-cells = <1>; 466724ba675SRob Herring #size-cells = <0>; 467724ba675SRob Herring 468724ba675SRob Herring tcon0_in: port@0 { 469724ba675SRob Herring #address-cells = <1>; 470724ba675SRob Herring #size-cells = <0>; 471724ba675SRob Herring reg = <0>; 472724ba675SRob Herring 473724ba675SRob Herring tcon0_in_mixer0: endpoint@0 { 474724ba675SRob Herring reg = <0>; 475724ba675SRob Herring remote-endpoint = <&mixer0_out_tcon0>; 476724ba675SRob Herring }; 477724ba675SRob Herring 478724ba675SRob Herring tcon0_in_mixer1: endpoint@1 { 479724ba675SRob Herring reg = <1>; 480724ba675SRob Herring remote-endpoint = <&mixer1_out_tcon0>; 481724ba675SRob Herring }; 482724ba675SRob Herring }; 483724ba675SRob Herring 484724ba675SRob Herring tcon0_out: port@1 { 485724ba675SRob Herring reg = <1>; 486724ba675SRob Herring }; 487724ba675SRob Herring }; 488724ba675SRob Herring }; 489724ba675SRob Herring 490724ba675SRob Herring tcon1: lcd-controller@1c0d000 { 491724ba675SRob Herring compatible = "allwinner,sun8i-a83t-tcon-tv"; 492724ba675SRob Herring reg = <0x01c0d000 0x1000>; 493724ba675SRob Herring interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 494724ba675SRob Herring clocks = <&ccu CLK_BUS_TCON1>, <&ccu CLK_TCON1>; 495724ba675SRob Herring clock-names = "ahb", "tcon-ch1"; 496724ba675SRob Herring resets = <&ccu RST_BUS_TCON1>; 497724ba675SRob Herring reset-names = "lcd"; 498724ba675SRob Herring 499724ba675SRob Herring ports { 500724ba675SRob Herring #address-cells = <1>; 501724ba675SRob Herring #size-cells = <0>; 502724ba675SRob Herring 503724ba675SRob Herring tcon1_in: port@0 { 504724ba675SRob Herring #address-cells = <1>; 505724ba675SRob Herring #size-cells = <0>; 506724ba675SRob Herring reg = <0>; 507724ba675SRob Herring 508724ba675SRob Herring tcon1_in_mixer0: endpoint@0 { 509724ba675SRob Herring reg = <0>; 510724ba675SRob Herring remote-endpoint = <&mixer0_out_tcon1>; 511724ba675SRob Herring }; 512724ba675SRob Herring 513724ba675SRob Herring tcon1_in_mixer1: endpoint@1 { 514724ba675SRob Herring reg = <1>; 515724ba675SRob Herring remote-endpoint = <&mixer1_out_tcon1>; 516724ba675SRob Herring }; 517724ba675SRob Herring }; 518724ba675SRob Herring 519724ba675SRob Herring tcon1_out: port@1 { 520724ba675SRob Herring #address-cells = <1>; 521724ba675SRob Herring #size-cells = <0>; 522724ba675SRob Herring reg = <1>; 523724ba675SRob Herring 524724ba675SRob Herring tcon1_out_hdmi: endpoint@1 { 525724ba675SRob Herring reg = <1>; 526724ba675SRob Herring remote-endpoint = <&hdmi_in_tcon1>; 527724ba675SRob Herring }; 528724ba675SRob Herring }; 529724ba675SRob Herring }; 530724ba675SRob Herring }; 531724ba675SRob Herring 532724ba675SRob Herring mmc0: mmc@1c0f000 { 533724ba675SRob Herring compatible = "allwinner,sun8i-a83t-mmc", 534724ba675SRob Herring "allwinner,sun7i-a20-mmc"; 535724ba675SRob Herring reg = <0x01c0f000 0x1000>; 536724ba675SRob Herring clocks = <&ccu CLK_BUS_MMC0>, 537724ba675SRob Herring <&ccu CLK_MMC0>, 538724ba675SRob Herring <&ccu CLK_MMC0_OUTPUT>, 539724ba675SRob Herring <&ccu CLK_MMC0_SAMPLE>; 540724ba675SRob Herring clock-names = "ahb", 541724ba675SRob Herring "mmc", 542724ba675SRob Herring "output", 543724ba675SRob Herring "sample"; 544724ba675SRob Herring resets = <&ccu RST_BUS_MMC0>; 545724ba675SRob Herring reset-names = "ahb"; 546724ba675SRob Herring interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 547724ba675SRob Herring status = "disabled"; 548724ba675SRob Herring #address-cells = <1>; 549724ba675SRob Herring #size-cells = <0>; 550724ba675SRob Herring }; 551724ba675SRob Herring 552724ba675SRob Herring mmc1: mmc@1c10000 { 553724ba675SRob Herring compatible = "allwinner,sun8i-a83t-mmc", 554724ba675SRob Herring "allwinner,sun7i-a20-mmc"; 555724ba675SRob Herring reg = <0x01c10000 0x1000>; 556724ba675SRob Herring clocks = <&ccu CLK_BUS_MMC1>, 557724ba675SRob Herring <&ccu CLK_MMC1>, 558724ba675SRob Herring <&ccu CLK_MMC1_OUTPUT>, 559724ba675SRob Herring <&ccu CLK_MMC1_SAMPLE>; 560724ba675SRob Herring clock-names = "ahb", 561724ba675SRob Herring "mmc", 562724ba675SRob Herring "output", 563724ba675SRob Herring "sample"; 564724ba675SRob Herring resets = <&ccu RST_BUS_MMC1>; 565724ba675SRob Herring reset-names = "ahb"; 566724ba675SRob Herring interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 567724ba675SRob Herring pinctrl-names = "default"; 568724ba675SRob Herring pinctrl-0 = <&mmc1_pins>; 569724ba675SRob Herring status = "disabled"; 570724ba675SRob Herring #address-cells = <1>; 571724ba675SRob Herring #size-cells = <0>; 572724ba675SRob Herring }; 573724ba675SRob Herring 574724ba675SRob Herring mmc2: mmc@1c11000 { 575724ba675SRob Herring compatible = "allwinner,sun8i-a83t-emmc"; 576724ba675SRob Herring reg = <0x01c11000 0x1000>; 577724ba675SRob Herring clocks = <&ccu CLK_BUS_MMC2>, 578724ba675SRob Herring <&ccu CLK_MMC2>, 579724ba675SRob Herring <&ccu CLK_MMC2_OUTPUT>, 580724ba675SRob Herring <&ccu CLK_MMC2_SAMPLE>; 581724ba675SRob Herring clock-names = "ahb", 582724ba675SRob Herring "mmc", 583724ba675SRob Herring "output", 584724ba675SRob Herring "sample"; 585724ba675SRob Herring resets = <&ccu RST_BUS_MMC2>; 586724ba675SRob Herring reset-names = "ahb"; 587724ba675SRob Herring interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 588724ba675SRob Herring status = "disabled"; 589724ba675SRob Herring #address-cells = <1>; 590724ba675SRob Herring #size-cells = <0>; 591724ba675SRob Herring }; 592724ba675SRob Herring 593724ba675SRob Herring sid: eeprom@1c14000 { 594724ba675SRob Herring compatible = "allwinner,sun8i-a83t-sid"; 595724ba675SRob Herring reg = <0x1c14000 0x400>; 596724ba675SRob Herring #address-cells = <1>; 597724ba675SRob Herring #size-cells = <1>; 598724ba675SRob Herring 599724ba675SRob Herring ths_calibration: thermal-sensor-calibration@34 { 600724ba675SRob Herring reg = <0x34 8>; 601724ba675SRob Herring }; 602724ba675SRob Herring }; 603724ba675SRob Herring 604724ba675SRob Herring crypto: crypto@1c15000 { 605724ba675SRob Herring compatible = "allwinner,sun8i-a83t-crypto"; 606724ba675SRob Herring reg = <0x01c15000 0x1000>; 607724ba675SRob Herring interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; 608724ba675SRob Herring resets = <&ccu RST_BUS_SS>; 609724ba675SRob Herring clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>; 610724ba675SRob Herring clock-names = "bus", "mod"; 611724ba675SRob Herring }; 612724ba675SRob Herring 613724ba675SRob Herring msgbox: mailbox@1c17000 { 614724ba675SRob Herring compatible = "allwinner,sun8i-a83t-msgbox", 615724ba675SRob Herring "allwinner,sun6i-a31-msgbox"; 616724ba675SRob Herring reg = <0x01c17000 0x1000>; 617724ba675SRob Herring clocks = <&ccu CLK_BUS_MSGBOX>; 618724ba675SRob Herring resets = <&ccu RST_BUS_MSGBOX>; 619724ba675SRob Herring interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; 620724ba675SRob Herring #mbox-cells = <1>; 621724ba675SRob Herring }; 622724ba675SRob Herring 623724ba675SRob Herring usb_otg: usb@1c19000 { 624724ba675SRob Herring compatible = "allwinner,sun8i-a83t-musb", 625724ba675SRob Herring "allwinner,sun8i-a33-musb"; 626724ba675SRob Herring reg = <0x01c19000 0x0400>; 627724ba675SRob Herring clocks = <&ccu CLK_BUS_OTG>; 628724ba675SRob Herring resets = <&ccu RST_BUS_OTG>; 629724ba675SRob Herring interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 630724ba675SRob Herring interrupt-names = "mc"; 631724ba675SRob Herring phys = <&usbphy 0>; 632724ba675SRob Herring phy-names = "usb"; 633724ba675SRob Herring extcon = <&usbphy 0>; 634724ba675SRob Herring dr_mode = "otg"; 635724ba675SRob Herring status = "disabled"; 636724ba675SRob Herring }; 637724ba675SRob Herring 638724ba675SRob Herring usbphy: phy@1c19400 { 639724ba675SRob Herring compatible = "allwinner,sun8i-a83t-usb-phy"; 640724ba675SRob Herring reg = <0x01c19400 0x10>, 641724ba675SRob Herring <0x01c1a800 0x14>, 642724ba675SRob Herring <0x01c1b800 0x14>; 643724ba675SRob Herring reg-names = "phy_ctrl", 644724ba675SRob Herring "pmu1", 645724ba675SRob Herring "pmu2"; 646724ba675SRob Herring clocks = <&ccu CLK_USB_PHY0>, 647724ba675SRob Herring <&ccu CLK_USB_PHY1>, 648724ba675SRob Herring <&ccu CLK_USB_HSIC>, 649724ba675SRob Herring <&ccu CLK_USB_HSIC_12M>; 650724ba675SRob Herring clock-names = "usb0_phy", 651724ba675SRob Herring "usb1_phy", 652724ba675SRob Herring "usb2_phy", 653724ba675SRob Herring "usb2_hsic_12M"; 654724ba675SRob Herring resets = <&ccu RST_USB_PHY0>, 655724ba675SRob Herring <&ccu RST_USB_PHY1>, 656724ba675SRob Herring <&ccu RST_USB_HSIC>; 657724ba675SRob Herring reset-names = "usb0_reset", 658724ba675SRob Herring "usb1_reset", 659724ba675SRob Herring "usb2_reset"; 660724ba675SRob Herring status = "disabled"; 661724ba675SRob Herring #phy-cells = <1>; 662724ba675SRob Herring }; 663724ba675SRob Herring 664724ba675SRob Herring ehci0: usb@1c1a000 { 665724ba675SRob Herring compatible = "allwinner,sun8i-a83t-ehci", 666724ba675SRob Herring "generic-ehci"; 667724ba675SRob Herring reg = <0x01c1a000 0x100>; 668724ba675SRob Herring interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 669724ba675SRob Herring clocks = <&ccu CLK_BUS_EHCI0>; 670724ba675SRob Herring resets = <&ccu RST_BUS_EHCI0>; 671724ba675SRob Herring phys = <&usbphy 1>; 672724ba675SRob Herring phy-names = "usb"; 673724ba675SRob Herring status = "disabled"; 674724ba675SRob Herring }; 675724ba675SRob Herring 676724ba675SRob Herring ohci0: usb@1c1a400 { 677724ba675SRob Herring compatible = "allwinner,sun8i-a83t-ohci", 678724ba675SRob Herring "generic-ohci"; 679724ba675SRob Herring reg = <0x01c1a400 0x100>; 680724ba675SRob Herring interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 681724ba675SRob Herring clocks = <&ccu CLK_BUS_OHCI0>, <&ccu CLK_USB_OHCI0>; 682724ba675SRob Herring resets = <&ccu RST_BUS_OHCI0>; 683724ba675SRob Herring phys = <&usbphy 1>; 684724ba675SRob Herring phy-names = "usb"; 685724ba675SRob Herring status = "disabled"; 686724ba675SRob Herring }; 687724ba675SRob Herring 688724ba675SRob Herring ehci1: usb@1c1b000 { 689724ba675SRob Herring compatible = "allwinner,sun8i-a83t-ehci", 690724ba675SRob Herring "generic-ehci"; 691724ba675SRob Herring reg = <0x01c1b000 0x100>; 692724ba675SRob Herring interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 693724ba675SRob Herring clocks = <&ccu CLK_BUS_EHCI1>; 694724ba675SRob Herring resets = <&ccu RST_BUS_EHCI1>; 695724ba675SRob Herring phys = <&usbphy 2>; 696724ba675SRob Herring phy-names = "usb"; 697724ba675SRob Herring status = "disabled"; 698724ba675SRob Herring }; 699724ba675SRob Herring 700724ba675SRob Herring ccu: clock@1c20000 { 701724ba675SRob Herring compatible = "allwinner,sun8i-a83t-ccu"; 702724ba675SRob Herring reg = <0x01c20000 0x400>; 703724ba675SRob Herring clocks = <&osc24M>, <&osc16Md512>; 704724ba675SRob Herring clock-names = "hosc", "losc"; 705724ba675SRob Herring #clock-cells = <1>; 706724ba675SRob Herring #reset-cells = <1>; 707724ba675SRob Herring }; 708724ba675SRob Herring 709724ba675SRob Herring pio: pinctrl@1c20800 { 710724ba675SRob Herring compatible = "allwinner,sun8i-a83t-pinctrl"; 711724ba675SRob Herring interrupt-parent = <&r_intc>; 712724ba675SRob Herring interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, 713724ba675SRob Herring <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 714724ba675SRob Herring <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 715724ba675SRob Herring reg = <0x01c20800 0x400>; 716724ba675SRob Herring clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&osc16Md512>; 717724ba675SRob Herring clock-names = "apb", "hosc", "losc"; 718724ba675SRob Herring gpio-controller; 719724ba675SRob Herring interrupt-controller; 720724ba675SRob Herring #interrupt-cells = <3>; 721724ba675SRob Herring #gpio-cells = <3>; 722724ba675SRob Herring 723724ba675SRob Herring /omit-if-no-ref/ 724724ba675SRob Herring csi_8bit_parallel_pins: csi-8bit-parallel-pins { 725724ba675SRob Herring pins = "PE0", "PE2", "PE3", "PE6", "PE7", 726724ba675SRob Herring "PE8", "PE9", "PE10", "PE11", 727724ba675SRob Herring "PE12", "PE13"; 728724ba675SRob Herring function = "csi"; 729724ba675SRob Herring }; 730724ba675SRob Herring 731724ba675SRob Herring /omit-if-no-ref/ 732724ba675SRob Herring csi_mclk_pin: csi-mclk-pin { 733724ba675SRob Herring pins = "PE1"; 734724ba675SRob Herring function = "csi"; 735724ba675SRob Herring }; 736724ba675SRob Herring 737724ba675SRob Herring emac_rgmii_pins: emac-rgmii-pins { 738724ba675SRob Herring pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", 739724ba675SRob Herring "PD11", "PD12", "PD13", "PD14", "PD18", 740724ba675SRob Herring "PD19", "PD21", "PD22", "PD23"; 741724ba675SRob Herring function = "gmac"; 742724ba675SRob Herring /* 743724ba675SRob Herring * data lines in RGMII mode use DDR mode 744724ba675SRob Herring * and need a higher signal drive strength 745724ba675SRob Herring */ 746724ba675SRob Herring drive-strength = <40>; 747724ba675SRob Herring }; 748724ba675SRob Herring 749724ba675SRob Herring hdmi_pins: hdmi-pins { 750724ba675SRob Herring pins = "PH6", "PH7", "PH8"; 751724ba675SRob Herring function = "hdmi"; 752724ba675SRob Herring }; 753724ba675SRob Herring 754724ba675SRob Herring i2c0_pins: i2c0-pins { 755724ba675SRob Herring pins = "PH0", "PH1"; 756724ba675SRob Herring function = "i2c0"; 757724ba675SRob Herring }; 758724ba675SRob Herring 759724ba675SRob Herring i2c1_pins: i2c1-pins { 760724ba675SRob Herring pins = "PH2", "PH3"; 761724ba675SRob Herring function = "i2c1"; 762724ba675SRob Herring }; 763724ba675SRob Herring 764724ba675SRob Herring /omit-if-no-ref/ 765724ba675SRob Herring i2c2_pe_pins: i2c2-pe-pins { 766724ba675SRob Herring pins = "PE14", "PE15"; 767724ba675SRob Herring function = "i2c2"; 768724ba675SRob Herring }; 769724ba675SRob Herring 770724ba675SRob Herring i2c2_ph_pins: i2c2-ph-pins { 771724ba675SRob Herring pins = "PH4", "PH5"; 772724ba675SRob Herring function = "i2c2"; 773724ba675SRob Herring }; 774724ba675SRob Herring 775724ba675SRob Herring i2s1_pins: i2s1-pins { 776724ba675SRob Herring /* I2S1 does not have external MCLK pin */ 777724ba675SRob Herring pins = "PG10", "PG11", "PG12", "PG13"; 778724ba675SRob Herring function = "i2s1"; 779724ba675SRob Herring }; 780724ba675SRob Herring 781724ba675SRob Herring lcd_lvds_pins: lcd-lvds-pins { 782724ba675SRob Herring pins = "PD18", "PD19", "PD20", "PD21", "PD22", 783724ba675SRob Herring "PD23", "PD24", "PD25", "PD26", "PD27"; 784724ba675SRob Herring function = "lvds0"; 785724ba675SRob Herring }; 786724ba675SRob Herring 787724ba675SRob Herring mmc0_pins: mmc0-pins { 788724ba675SRob Herring pins = "PF0", "PF1", "PF2", 789724ba675SRob Herring "PF3", "PF4", "PF5"; 790724ba675SRob Herring function = "mmc0"; 791724ba675SRob Herring drive-strength = <30>; 792724ba675SRob Herring bias-pull-up; 793724ba675SRob Herring }; 794724ba675SRob Herring 795724ba675SRob Herring mmc1_pins: mmc1-pins { 796724ba675SRob Herring pins = "PG0", "PG1", "PG2", 797724ba675SRob Herring "PG3", "PG4", "PG5"; 798724ba675SRob Herring function = "mmc1"; 799724ba675SRob Herring drive-strength = <30>; 800724ba675SRob Herring bias-pull-up; 801724ba675SRob Herring }; 802724ba675SRob Herring 803724ba675SRob Herring mmc2_8bit_emmc_pins: mmc2-8bit-emmc-pins { 804724ba675SRob Herring pins = "PC5", "PC6", "PC8", "PC9", 805724ba675SRob Herring "PC10", "PC11", "PC12", "PC13", 806724ba675SRob Herring "PC14", "PC15", "PC16"; 807724ba675SRob Herring function = "mmc2"; 808724ba675SRob Herring drive-strength = <30>; 809724ba675SRob Herring bias-pull-up; 810724ba675SRob Herring }; 811724ba675SRob Herring 812724ba675SRob Herring pwm_pin: pwm-pin { 813724ba675SRob Herring pins = "PD28"; 814724ba675SRob Herring function = "pwm"; 815724ba675SRob Herring }; 816724ba675SRob Herring 817724ba675SRob Herring spdif_tx_pin: spdif-tx-pin { 818724ba675SRob Herring pins = "PE18"; 819724ba675SRob Herring function = "spdif"; 820724ba675SRob Herring }; 821724ba675SRob Herring 822724ba675SRob Herring uart0_pb_pins: uart0-pb-pins { 823724ba675SRob Herring pins = "PB9", "PB10"; 824724ba675SRob Herring function = "uart0"; 825724ba675SRob Herring }; 826724ba675SRob Herring 827724ba675SRob Herring uart0_pf_pins: uart0-pf-pins { 828724ba675SRob Herring pins = "PF2", "PF4"; 829724ba675SRob Herring function = "uart0"; 830724ba675SRob Herring }; 831724ba675SRob Herring 832724ba675SRob Herring uart1_pins: uart1-pins { 833724ba675SRob Herring pins = "PG6", "PG7"; 834724ba675SRob Herring function = "uart1"; 835724ba675SRob Herring }; 836724ba675SRob Herring 837724ba675SRob Herring uart1_rts_cts_pins: uart1-rts-cts-pins { 838724ba675SRob Herring pins = "PG8", "PG9"; 839724ba675SRob Herring function = "uart1"; 840724ba675SRob Herring }; 841724ba675SRob Herring 842724ba675SRob Herring /omit-if-no-ref/ 843724ba675SRob Herring uart2_pb_pins: uart2-pb-pins { 844724ba675SRob Herring pins = "PB0", "PB1"; 845724ba675SRob Herring function = "uart2"; 846724ba675SRob Herring }; 847724ba675SRob Herring }; 848724ba675SRob Herring 849724ba675SRob Herring timer@1c20c00 { 850724ba675SRob Herring compatible = "allwinner,sun8i-a23-timer"; 851724ba675SRob Herring reg = <0x01c20c00 0xa0>; 852724ba675SRob Herring interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 853724ba675SRob Herring <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 854724ba675SRob Herring clocks = <&osc24M>; 855724ba675SRob Herring }; 856724ba675SRob Herring 857724ba675SRob Herring watchdog@1c20ca0 { 858724ba675SRob Herring compatible = "allwinner,sun6i-a31-wdt"; 859724ba675SRob Herring reg = <0x01c20ca0 0x20>; 860724ba675SRob Herring interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 861724ba675SRob Herring clocks = <&osc24M>; 862724ba675SRob Herring }; 863724ba675SRob Herring 864724ba675SRob Herring spdif: spdif@1c21000 { 865724ba675SRob Herring #sound-dai-cells = <0>; 866724ba675SRob Herring compatible = "allwinner,sun8i-a83t-spdif", 867724ba675SRob Herring "allwinner,sun8i-h3-spdif"; 868724ba675SRob Herring reg = <0x01c21000 0x400>; 869724ba675SRob Herring interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 870724ba675SRob Herring clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; 871724ba675SRob Herring resets = <&ccu RST_BUS_SPDIF>; 872724ba675SRob Herring clock-names = "apb", "spdif"; 873724ba675SRob Herring dmas = <&dma 2>; 874724ba675SRob Herring dma-names = "tx"; 875724ba675SRob Herring pinctrl-names = "default"; 876724ba675SRob Herring pinctrl-0 = <&spdif_tx_pin>; 877724ba675SRob Herring status = "disabled"; 878724ba675SRob Herring }; 879724ba675SRob Herring 880724ba675SRob Herring i2s0: i2s@1c22000 { 881724ba675SRob Herring #sound-dai-cells = <0>; 882724ba675SRob Herring compatible = "allwinner,sun8i-a83t-i2s"; 883724ba675SRob Herring reg = <0x01c22000 0x400>; 884724ba675SRob Herring interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 885724ba675SRob Herring clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; 886724ba675SRob Herring clock-names = "apb", "mod"; 887724ba675SRob Herring dmas = <&dma 3>, <&dma 3>; 888724ba675SRob Herring resets = <&ccu RST_BUS_I2S0>; 889724ba675SRob Herring dma-names = "rx", "tx"; 890724ba675SRob Herring status = "disabled"; 891724ba675SRob Herring }; 892724ba675SRob Herring 893724ba675SRob Herring i2s1: i2s@1c22400 { 894724ba675SRob Herring #sound-dai-cells = <0>; 895724ba675SRob Herring compatible = "allwinner,sun8i-a83t-i2s"; 896724ba675SRob Herring reg = <0x01c22400 0x400>; 897724ba675SRob Herring interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 898724ba675SRob Herring clocks = <&ccu CLK_BUS_I2S1>, <&ccu CLK_I2S1>; 899724ba675SRob Herring clock-names = "apb", "mod"; 900724ba675SRob Herring dmas = <&dma 4>, <&dma 4>; 901724ba675SRob Herring resets = <&ccu RST_BUS_I2S1>; 902724ba675SRob Herring dma-names = "rx", "tx"; 903724ba675SRob Herring pinctrl-names = "default"; 904724ba675SRob Herring pinctrl-0 = <&i2s1_pins>; 905724ba675SRob Herring status = "disabled"; 906724ba675SRob Herring }; 907724ba675SRob Herring 908724ba675SRob Herring i2s2: i2s@1c22800 { 909724ba675SRob Herring #sound-dai-cells = <0>; 910724ba675SRob Herring compatible = "allwinner,sun8i-a83t-i2s"; 911724ba675SRob Herring reg = <0x01c22800 0x400>; 912724ba675SRob Herring interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 913724ba675SRob Herring clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>; 914724ba675SRob Herring clock-names = "apb", "mod"; 915724ba675SRob Herring dmas = <&dma 27>; 916724ba675SRob Herring resets = <&ccu RST_BUS_I2S2>; 917724ba675SRob Herring dma-names = "tx"; 918724ba675SRob Herring status = "disabled"; 919724ba675SRob Herring }; 920724ba675SRob Herring 921724ba675SRob Herring pwm: pwm@1c21400 { 922724ba675SRob Herring compatible = "allwinner,sun8i-a83t-pwm", 923724ba675SRob Herring "allwinner,sun8i-h3-pwm"; 924724ba675SRob Herring reg = <0x01c21400 0x400>; 925724ba675SRob Herring clocks = <&osc24M>; 926724ba675SRob Herring #pwm-cells = <3>; 927724ba675SRob Herring status = "disabled"; 928724ba675SRob Herring }; 929724ba675SRob Herring 930724ba675SRob Herring uart0: serial@1c28000 { 931724ba675SRob Herring compatible = "snps,dw-apb-uart"; 932724ba675SRob Herring reg = <0x01c28000 0x400>; 933724ba675SRob Herring interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 934724ba675SRob Herring reg-shift = <2>; 935724ba675SRob Herring reg-io-width = <4>; 936724ba675SRob Herring clocks = <&ccu CLK_BUS_UART0>; 937724ba675SRob Herring resets = <&ccu RST_BUS_UART0>; 938724ba675SRob Herring status = "disabled"; 939724ba675SRob Herring }; 940724ba675SRob Herring 941724ba675SRob Herring uart1: serial@1c28400 { 942724ba675SRob Herring compatible = "snps,dw-apb-uart"; 943724ba675SRob Herring reg = <0x01c28400 0x400>; 944724ba675SRob Herring interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 945724ba675SRob Herring reg-shift = <2>; 946724ba675SRob Herring reg-io-width = <4>; 947724ba675SRob Herring clocks = <&ccu CLK_BUS_UART1>; 948724ba675SRob Herring resets = <&ccu RST_BUS_UART1>; 949724ba675SRob Herring status = "disabled"; 950724ba675SRob Herring }; 951724ba675SRob Herring 952724ba675SRob Herring uart2: serial@1c28800 { 953724ba675SRob Herring compatible = "snps,dw-apb-uart"; 954724ba675SRob Herring reg = <0x01c28800 0x400>; 955724ba675SRob Herring interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 956724ba675SRob Herring reg-shift = <2>; 957724ba675SRob Herring reg-io-width = <4>; 958724ba675SRob Herring clocks = <&ccu CLK_BUS_UART2>; 959724ba675SRob Herring resets = <&ccu RST_BUS_UART2>; 960724ba675SRob Herring status = "disabled"; 961724ba675SRob Herring }; 962724ba675SRob Herring 963724ba675SRob Herring uart3: serial@1c28c00 { 964724ba675SRob Herring compatible = "snps,dw-apb-uart"; 965724ba675SRob Herring reg = <0x01c28c00 0x400>; 966724ba675SRob Herring interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 967724ba675SRob Herring reg-shift = <2>; 968724ba675SRob Herring reg-io-width = <4>; 969724ba675SRob Herring clocks = <&ccu CLK_BUS_UART3>; 970724ba675SRob Herring resets = <&ccu RST_BUS_UART3>; 971724ba675SRob Herring status = "disabled"; 972724ba675SRob Herring }; 973724ba675SRob Herring 974724ba675SRob Herring uart4: serial@1c29000 { 975724ba675SRob Herring compatible = "snps,dw-apb-uart"; 976724ba675SRob Herring reg = <0x01c29000 0x400>; 977724ba675SRob Herring interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 978724ba675SRob Herring reg-shift = <2>; 979724ba675SRob Herring reg-io-width = <4>; 980724ba675SRob Herring clocks = <&ccu CLK_BUS_UART4>; 981724ba675SRob Herring resets = <&ccu RST_BUS_UART4>; 982724ba675SRob Herring status = "disabled"; 983724ba675SRob Herring }; 984724ba675SRob Herring 985724ba675SRob Herring i2c0: i2c@1c2ac00 { 986724ba675SRob Herring compatible = "allwinner,sun8i-a83t-i2c", 987724ba675SRob Herring "allwinner,sun6i-a31-i2c"; 988724ba675SRob Herring reg = <0x01c2ac00 0x400>; 989724ba675SRob Herring interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 990724ba675SRob Herring clocks = <&ccu CLK_BUS_I2C0>; 991724ba675SRob Herring resets = <&ccu RST_BUS_I2C0>; 992724ba675SRob Herring pinctrl-names = "default"; 993724ba675SRob Herring pinctrl-0 = <&i2c0_pins>; 994724ba675SRob Herring status = "disabled"; 995724ba675SRob Herring #address-cells = <1>; 996724ba675SRob Herring #size-cells = <0>; 997724ba675SRob Herring }; 998724ba675SRob Herring 999724ba675SRob Herring i2c1: i2c@1c2b000 { 1000724ba675SRob Herring compatible = "allwinner,sun8i-a83t-i2c", 1001724ba675SRob Herring "allwinner,sun6i-a31-i2c"; 1002724ba675SRob Herring reg = <0x01c2b000 0x400>; 1003724ba675SRob Herring interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1004724ba675SRob Herring clocks = <&ccu CLK_BUS_I2C1>; 1005724ba675SRob Herring resets = <&ccu RST_BUS_I2C1>; 1006724ba675SRob Herring pinctrl-names = "default"; 1007724ba675SRob Herring pinctrl-0 = <&i2c1_pins>; 1008724ba675SRob Herring status = "disabled"; 1009724ba675SRob Herring #address-cells = <1>; 1010724ba675SRob Herring #size-cells = <0>; 1011724ba675SRob Herring }; 1012724ba675SRob Herring 1013724ba675SRob Herring i2c2: i2c@1c2b400 { 1014724ba675SRob Herring compatible = "allwinner,sun8i-a83t-i2c", 1015724ba675SRob Herring "allwinner,sun6i-a31-i2c"; 1016724ba675SRob Herring reg = <0x01c2b400 0x400>; 1017724ba675SRob Herring interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 1018724ba675SRob Herring clocks = <&ccu CLK_BUS_I2C2>; 1019724ba675SRob Herring resets = <&ccu RST_BUS_I2C2>; 1020724ba675SRob Herring status = "disabled"; 1021724ba675SRob Herring #address-cells = <1>; 1022724ba675SRob Herring #size-cells = <0>; 1023724ba675SRob Herring }; 1024724ba675SRob Herring 1025724ba675SRob Herring emac: ethernet@1c30000 { 1026724ba675SRob Herring compatible = "allwinner,sun8i-a83t-emac"; 1027724ba675SRob Herring syscon = <&syscon>; 1028724ba675SRob Herring reg = <0x01c30000 0x104>; 1029724ba675SRob Herring interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 1030724ba675SRob Herring interrupt-names = "macirq"; 1031724ba675SRob Herring clocks = <&ccu CLK_BUS_EMAC>; 1032724ba675SRob Herring clock-names = "stmmaceth"; 1033724ba675SRob Herring resets = <&ccu RST_BUS_EMAC>; 1034724ba675SRob Herring reset-names = "stmmaceth"; 1035724ba675SRob Herring status = "disabled"; 1036724ba675SRob Herring 1037724ba675SRob Herring mdio: mdio { 1038724ba675SRob Herring compatible = "snps,dwmac-mdio"; 1039724ba675SRob Herring #address-cells = <1>; 1040724ba675SRob Herring #size-cells = <0>; 1041724ba675SRob Herring }; 1042724ba675SRob Herring }; 1043724ba675SRob Herring 1044724ba675SRob Herring gic: interrupt-controller@1c81000 { 1045724ba675SRob Herring compatible = "arm,gic-400"; 1046724ba675SRob Herring reg = <0x01c81000 0x1000>, 1047724ba675SRob Herring <0x01c82000 0x2000>, 1048724ba675SRob Herring <0x01c84000 0x2000>, 1049724ba675SRob Herring <0x01c86000 0x2000>; 1050724ba675SRob Herring interrupt-controller; 1051724ba675SRob Herring #interrupt-cells = <3>; 1052724ba675SRob Herring interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; 1053724ba675SRob Herring }; 1054724ba675SRob Herring 1055724ba675SRob Herring csi: camera@1cb0000 { 1056724ba675SRob Herring compatible = "allwinner,sun8i-a83t-csi"; 1057724ba675SRob Herring reg = <0x01cb0000 0x1000>; 1058724ba675SRob Herring interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 1059724ba675SRob Herring clocks = <&ccu CLK_BUS_CSI>, 1060724ba675SRob Herring <&ccu CLK_CSI_SCLK>, 1061724ba675SRob Herring <&ccu CLK_DRAM_CSI>; 1062724ba675SRob Herring clock-names = "bus", "mod", "ram"; 1063724ba675SRob Herring resets = <&ccu RST_BUS_CSI>; 1064724ba675SRob Herring status = "disabled"; 1065724ba675SRob Herring }; 1066724ba675SRob Herring 1067724ba675SRob Herring hdmi: hdmi@1ee0000 { 1068724ba675SRob Herring compatible = "allwinner,sun8i-a83t-dw-hdmi"; 1069724ba675SRob Herring reg = <0x01ee0000 0x10000>; 1070724ba675SRob Herring reg-io-width = <1>; 1071724ba675SRob Herring interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 1072724ba675SRob Herring clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>, 1073724ba675SRob Herring <&ccu CLK_HDMI>; 1074724ba675SRob Herring clock-names = "iahb", "isfr", "tmds"; 1075724ba675SRob Herring resets = <&ccu RST_BUS_HDMI1>; 1076724ba675SRob Herring reset-names = "ctrl"; 1077724ba675SRob Herring phys = <&hdmi_phy>; 1078724ba675SRob Herring phy-names = "phy"; 1079724ba675SRob Herring pinctrl-names = "default"; 1080724ba675SRob Herring pinctrl-0 = <&hdmi_pins>; 1081724ba675SRob Herring status = "disabled"; 1082724ba675SRob Herring 1083724ba675SRob Herring ports { 1084724ba675SRob Herring #address-cells = <1>; 1085724ba675SRob Herring #size-cells = <0>; 1086724ba675SRob Herring 1087724ba675SRob Herring hdmi_in: port@0 { 1088724ba675SRob Herring reg = <0>; 1089724ba675SRob Herring 1090724ba675SRob Herring hdmi_in_tcon1: endpoint { 1091724ba675SRob Herring remote-endpoint = <&tcon1_out_hdmi>; 1092724ba675SRob Herring }; 1093724ba675SRob Herring }; 1094724ba675SRob Herring 1095724ba675SRob Herring hdmi_out: port@1 { 1096724ba675SRob Herring reg = <1>; 1097724ba675SRob Herring }; 1098724ba675SRob Herring }; 1099724ba675SRob Herring }; 1100724ba675SRob Herring 1101724ba675SRob Herring hdmi_phy: hdmi-phy@1ef0000 { 1102724ba675SRob Herring compatible = "allwinner,sun8i-a83t-hdmi-phy"; 1103724ba675SRob Herring reg = <0x01ef0000 0x10000>; 1104724ba675SRob Herring clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>; 1105724ba675SRob Herring clock-names = "bus", "mod"; 1106724ba675SRob Herring resets = <&ccu RST_BUS_HDMI0>; 1107724ba675SRob Herring reset-names = "phy"; 1108724ba675SRob Herring #phy-cells = <0>; 1109724ba675SRob Herring }; 1110724ba675SRob Herring 1111724ba675SRob Herring r_intc: interrupt-controller@1f00c00 { 1112724ba675SRob Herring compatible = "allwinner,sun8i-a83t-r-intc", 1113724ba675SRob Herring "allwinner,sun6i-a31-r-intc"; 1114724ba675SRob Herring interrupt-controller; 1115724ba675SRob Herring #interrupt-cells = <3>; 1116724ba675SRob Herring reg = <0x01f00c00 0x400>; 1117724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 1118724ba675SRob Herring }; 1119724ba675SRob Herring 1120724ba675SRob Herring r_ccu: clock@1f01400 { 1121724ba675SRob Herring compatible = "allwinner,sun8i-a83t-r-ccu"; 1122724ba675SRob Herring reg = <0x01f01400 0x400>; 1123724ba675SRob Herring clocks = <&osc24M>, <&osc16Md512>, <&osc16M>, 1124724ba675SRob Herring <&ccu CLK_PLL_PERIPH>; 1125724ba675SRob Herring clock-names = "hosc", "losc", "iosc", "pll-periph"; 1126724ba675SRob Herring #clock-cells = <1>; 1127724ba675SRob Herring #reset-cells = <1>; 1128724ba675SRob Herring }; 1129724ba675SRob Herring 1130*0f47ef3fSKrzysztof Kozlowski cpucfg@1f01c00 { 1131724ba675SRob Herring compatible = "allwinner,sun8i-a83t-r-cpucfg"; 1132724ba675SRob Herring reg = <0x1f01c00 0x400>; 1133724ba675SRob Herring }; 1134724ba675SRob Herring 1135724ba675SRob Herring r_cir: ir@1f02000 { 1136724ba675SRob Herring compatible = "allwinner,sun8i-a83t-ir", 1137724ba675SRob Herring "allwinner,sun6i-a31-ir"; 1138724ba675SRob Herring clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; 1139724ba675SRob Herring clock-names = "apb", "ir"; 1140724ba675SRob Herring resets = <&r_ccu RST_APB0_IR>; 1141724ba675SRob Herring interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 1142724ba675SRob Herring reg = <0x01f02000 0x400>; 1143724ba675SRob Herring pinctrl-names = "default"; 1144724ba675SRob Herring pinctrl-0 = <&r_cir_pin>; 1145724ba675SRob Herring status = "disabled"; 1146724ba675SRob Herring }; 1147724ba675SRob Herring 1148724ba675SRob Herring r_lradc: lradc@1f03c00 { 1149724ba675SRob Herring compatible = "allwinner,sun8i-a83t-r-lradc"; 1150724ba675SRob Herring reg = <0x01f03c00 0x100>; 1151724ba675SRob Herring interrupt-parent = <&r_intc>; 1152724ba675SRob Herring interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 1153724ba675SRob Herring status = "disabled"; 1154724ba675SRob Herring }; 1155724ba675SRob Herring 1156724ba675SRob Herring r_pio: pinctrl@1f02c00 { 1157724ba675SRob Herring compatible = "allwinner,sun8i-a83t-r-pinctrl"; 1158724ba675SRob Herring reg = <0x01f02c00 0x400>; 1159724ba675SRob Herring interrupt-parent = <&r_intc>; 1160724ba675SRob Herring interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 1161724ba675SRob Herring clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, 1162724ba675SRob Herring <&osc16Md512>; 1163724ba675SRob Herring clock-names = "apb", "hosc", "losc"; 1164724ba675SRob Herring gpio-controller; 1165724ba675SRob Herring #gpio-cells = <3>; 1166724ba675SRob Herring interrupt-controller; 1167724ba675SRob Herring #interrupt-cells = <3>; 1168724ba675SRob Herring 1169724ba675SRob Herring r_cir_pin: r-cir-pin { 1170724ba675SRob Herring pins = "PL12"; 1171724ba675SRob Herring function = "s_cir_rx"; 1172724ba675SRob Herring }; 1173724ba675SRob Herring 1174724ba675SRob Herring r_rsb_pins: r-rsb-pins { 1175724ba675SRob Herring pins = "PL0", "PL1"; 1176724ba675SRob Herring function = "s_rsb"; 1177724ba675SRob Herring drive-strength = <20>; 1178724ba675SRob Herring bias-pull-up; 1179724ba675SRob Herring }; 1180724ba675SRob Herring }; 1181724ba675SRob Herring 1182724ba675SRob Herring r_rsb: rsb@1f03400 { 1183724ba675SRob Herring compatible = "allwinner,sun8i-a83t-rsb", 1184724ba675SRob Herring "allwinner,sun8i-a23-rsb"; 1185724ba675SRob Herring reg = <0x01f03400 0x400>; 1186724ba675SRob Herring interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 1187724ba675SRob Herring clocks = <&r_ccu CLK_APB0_RSB>; 1188724ba675SRob Herring clock-frequency = <3000000>; 1189724ba675SRob Herring resets = <&r_ccu RST_APB0_RSB>; 1190724ba675SRob Herring pinctrl-names = "default"; 1191724ba675SRob Herring pinctrl-0 = <&r_rsb_pins>; 1192724ba675SRob Herring status = "disabled"; 1193724ba675SRob Herring #address-cells = <1>; 1194724ba675SRob Herring #size-cells = <0>; 1195724ba675SRob Herring }; 1196724ba675SRob Herring 1197724ba675SRob Herring ths: thermal-sensor@1f04000 { 1198724ba675SRob Herring compatible = "allwinner,sun8i-a83t-ths"; 1199724ba675SRob Herring reg = <0x01f04000 0x100>; 1200724ba675SRob Herring interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 1201724ba675SRob Herring nvmem-cells = <&ths_calibration>; 1202724ba675SRob Herring nvmem-cell-names = "calibration"; 1203724ba675SRob Herring #thermal-sensor-cells = <1>; 1204724ba675SRob Herring }; 1205724ba675SRob Herring }; 1206724ba675SRob Herring 1207724ba675SRob Herring thermal-zones { 1208724ba675SRob Herring cpu0_thermal: cpu0-thermal { 1209724ba675SRob Herring polling-delay-passive = <0>; 1210724ba675SRob Herring polling-delay = <0>; 1211724ba675SRob Herring thermal-sensors = <&ths 0>; 1212724ba675SRob Herring 1213724ba675SRob Herring trips { 1214724ba675SRob Herring cpu0_hot: cpu-hot { 1215724ba675SRob Herring temperature = <80000>; 1216724ba675SRob Herring hysteresis = <2000>; 1217724ba675SRob Herring type = "passive"; 1218724ba675SRob Herring }; 1219724ba675SRob Herring 1220724ba675SRob Herring cpu0_very_hot: cpu-very-hot { 1221724ba675SRob Herring temperature = <100000>; 1222724ba675SRob Herring hysteresis = <0>; 1223724ba675SRob Herring type = "critical"; 1224724ba675SRob Herring }; 1225724ba675SRob Herring }; 1226724ba675SRob Herring 1227724ba675SRob Herring cooling-maps { 1228724ba675SRob Herring cpu-hot-limit { 1229724ba675SRob Herring trip = <&cpu0_hot>; 1230724ba675SRob Herring cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 1231724ba675SRob Herring <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 1232724ba675SRob Herring <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 1233724ba675SRob Herring <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 1234724ba675SRob Herring }; 1235724ba675SRob Herring }; 1236724ba675SRob Herring }; 1237724ba675SRob Herring 1238724ba675SRob Herring cpu1_thermal: cpu1-thermal { 1239724ba675SRob Herring polling-delay-passive = <0>; 1240724ba675SRob Herring polling-delay = <0>; 1241724ba675SRob Herring thermal-sensors = <&ths 1>; 1242724ba675SRob Herring 1243724ba675SRob Herring trips { 1244724ba675SRob Herring cpu1_hot: cpu-hot { 1245724ba675SRob Herring temperature = <80000>; 1246724ba675SRob Herring hysteresis = <2000>; 1247724ba675SRob Herring type = "passive"; 1248724ba675SRob Herring }; 1249724ba675SRob Herring 1250724ba675SRob Herring cpu1_very_hot: cpu-very-hot { 1251724ba675SRob Herring temperature = <100000>; 1252724ba675SRob Herring hysteresis = <0>; 1253724ba675SRob Herring type = "critical"; 1254724ba675SRob Herring }; 1255724ba675SRob Herring }; 1256724ba675SRob Herring 1257724ba675SRob Herring cooling-maps { 1258724ba675SRob Herring cpu-hot-limit { 1259724ba675SRob Herring trip = <&cpu1_hot>; 1260724ba675SRob Herring cooling-device = <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 1261724ba675SRob Herring <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 1262724ba675SRob Herring <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 1263724ba675SRob Herring <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 1264724ba675SRob Herring }; 1265724ba675SRob Herring }; 1266724ba675SRob Herring }; 1267724ba675SRob Herring 1268724ba675SRob Herring gpu_thermal: gpu-thermal { 1269724ba675SRob Herring polling-delay-passive = <0>; 1270724ba675SRob Herring polling-delay = <0>; 1271724ba675SRob Herring thermal-sensors = <&ths 2>; 1272724ba675SRob Herring }; 1273724ba675SRob Herring }; 1274724ba675SRob Herring}; 1275