1724ba675SRob Herring/* 2724ba675SRob Herring * Copyright 2015 Tyler Baker 3724ba675SRob Herring * 4724ba675SRob Herring * Tyler Baker <tyler.baker@linaro.org> 5724ba675SRob Herring * Chen-Yu Tsai <wens@csie.org> 6724ba675SRob Herring * 7724ba675SRob Herring * This file is dual-licensed: you can use it either under the terms 8724ba675SRob Herring * of the GPL or the X11 license, at your option. Note that this dual 9724ba675SRob Herring * licensing only applies to this file, and not this project as a 10724ba675SRob Herring * whole. 11724ba675SRob Herring * 12724ba675SRob Herring * a) This file is free software; you can redistribute it and/or 13724ba675SRob Herring * modify it under the terms of the GNU General Public License as 14724ba675SRob Herring * published by the Free Software Foundation; either version 2 of the 15724ba675SRob Herring * License, or (at your option) any later version. 16724ba675SRob Herring * 17724ba675SRob Herring * This file is distributed in the hope that it will be useful, 18724ba675SRob Herring * but WITHOUT ANY WARRANTY; without even the implied warranty of 19724ba675SRob Herring * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20724ba675SRob Herring * GNU General Public License for more details. 21724ba675SRob Herring * 22724ba675SRob Herring * Or, alternatively, 23724ba675SRob Herring * 24724ba675SRob Herring * b) Permission is hereby granted, free of charge, to any person 25724ba675SRob Herring * obtaining a copy of this software and associated documentation 26724ba675SRob Herring * files (the "Software"), to deal in the Software without 27724ba675SRob Herring * restriction, including without limitation the rights to use, 28724ba675SRob Herring * copy, modify, merge, publish, distribute, sublicense, and/or 29724ba675SRob Herring * sell copies of the Software, and to permit persons to whom the 30724ba675SRob Herring * Software is furnished to do so, subject to the following 31724ba675SRob Herring * conditions: 32724ba675SRob Herring * 33724ba675SRob Herring * The above copyright notice and this permission notice shall be 34724ba675SRob Herring * included in all copies or substantial portions of the Software. 35724ba675SRob Herring * 36724ba675SRob Herring * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 37724ba675SRob Herring * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 38724ba675SRob Herring * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 39724ba675SRob Herring * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40724ba675SRob Herring * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 41724ba675SRob Herring * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 42724ba675SRob Herring * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43724ba675SRob Herring * OTHER DEALINGS IN THE SOFTWARE. 44724ba675SRob Herring */ 45724ba675SRob Herring 46724ba675SRob Herring/dts-v1/; 47724ba675SRob Herring#include "sun9i-a80.dtsi" 48724ba675SRob Herring 49724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 50724ba675SRob Herring 51724ba675SRob Herring/ { 52724ba675SRob Herring model = "Cubietech Cubieboard4"; 53724ba675SRob Herring compatible = "cubietech,a80-cubieboard4", "allwinner,sun9i-a80"; 54724ba675SRob Herring 55724ba675SRob Herring aliases { 56724ba675SRob Herring serial0 = &uart0; 57724ba675SRob Herring }; 58724ba675SRob Herring 59724ba675SRob Herring chosen { 60724ba675SRob Herring stdout-path = "serial0:115200n8"; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring leds { 64724ba675SRob Herring compatible = "gpio-leds"; 65724ba675SRob Herring 66724ba675SRob Herring led-0 { 67724ba675SRob Herring label = "cubieboard4:green:usr"; 68724ba675SRob Herring gpios = <&pio 7 17 GPIO_ACTIVE_HIGH>; /* PH17 */ 69724ba675SRob Herring }; 70724ba675SRob Herring 71724ba675SRob Herring led-1 { 72724ba675SRob Herring label = "cubieboard4:red:usr"; 73724ba675SRob Herring gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */ 74724ba675SRob Herring }; 75724ba675SRob Herring }; 76724ba675SRob Herring 77724ba675SRob Herring vga-connector { 78724ba675SRob Herring compatible = "vga-connector"; 79724ba675SRob Herring label = "vga"; 80724ba675SRob Herring ddc-i2c-bus = <&i2c3>; 81724ba675SRob Herring 82724ba675SRob Herring port { 83724ba675SRob Herring vga_con_in: endpoint { 84724ba675SRob Herring remote-endpoint = <&vga_dac_out>; 85724ba675SRob Herring }; 86724ba675SRob Herring }; 87724ba675SRob Herring }; 88724ba675SRob Herring 89724ba675SRob Herring vga-dac { 90724ba675SRob Herring compatible = "corpro,gm7123", "adi,adv7123"; 91724ba675SRob Herring vdd-supply = <®_dcdc1>; 92724ba675SRob Herring 93724ba675SRob Herring ports { 94724ba675SRob Herring #address-cells = <1>; 95724ba675SRob Herring #size-cells = <0>; 96724ba675SRob Herring 97724ba675SRob Herring port@0 { 98724ba675SRob Herring reg = <0>; 99724ba675SRob Herring 100724ba675SRob Herring vga_dac_in: endpoint { 101724ba675SRob Herring remote-endpoint = <&tcon0_out_vga>; 102724ba675SRob Herring }; 103724ba675SRob Herring }; 104724ba675SRob Herring 105724ba675SRob Herring port@1 { 106724ba675SRob Herring reg = <1>; 107724ba675SRob Herring 108724ba675SRob Herring vga_dac_out: endpoint { 109724ba675SRob Herring remote-endpoint = <&vga_con_in>; 110724ba675SRob Herring }; 111724ba675SRob Herring }; 112724ba675SRob Herring }; 113724ba675SRob Herring }; 114724ba675SRob Herring 115724ba675SRob Herring wifi_pwrseq: wifi-pwrseq { 116724ba675SRob Herring compatible = "mmc-pwrseq-simple"; 117724ba675SRob Herring clocks = <&ac100_rtc 1>; 118724ba675SRob Herring clock-names = "ext_clock"; 119724ba675SRob Herring /* enables internal regulator and de-asserts reset */ 120724ba675SRob Herring reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 WL-PMU-EN */ 121724ba675SRob Herring }; 122724ba675SRob Herring}; 123724ba675SRob Herring 124724ba675SRob Herring&de { 125724ba675SRob Herring status = "okay"; 126724ba675SRob Herring}; 127724ba675SRob Herring 128724ba675SRob Herring&gmac { 129724ba675SRob Herring pinctrl-names = "default"; 130724ba675SRob Herring pinctrl-0 = <&gmac_rgmii_pins>; 131724ba675SRob Herring phy-handle = <&phy1>; 132724ba675SRob Herring phy-mode = "rgmii-id"; 133724ba675SRob Herring phy-supply = <®_cldo1>; 134724ba675SRob Herring status = "okay"; 135724ba675SRob Herring}; 136724ba675SRob Herring 137724ba675SRob Herring&i2c3 { 138724ba675SRob Herring pinctrl-names = "default"; 139724ba675SRob Herring pinctrl-0 = <&i2c3_pins>; 140724ba675SRob Herring status = "okay"; 141724ba675SRob Herring}; 142724ba675SRob Herring 143724ba675SRob Herring&mdio { 144724ba675SRob Herring phy1: ethernet-phy@1 { 145724ba675SRob Herring reg = <1>; 146724ba675SRob Herring }; 147724ba675SRob Herring}; 148724ba675SRob Herring 149724ba675SRob Herring&mmc0 { 150724ba675SRob Herring pinctrl-names = "default"; 151724ba675SRob Herring pinctrl-0 = <&mmc0_pins>; 152724ba675SRob Herring vmmc-supply = <®_dcdc1>; 153724ba675SRob Herring bus-width = <4>; 154724ba675SRob Herring cd-gpios = <&pio 7 18 GPIO_ACTIVE_LOW>; /* PH18 */ 155724ba675SRob Herring status = "okay"; 156724ba675SRob Herring}; 157724ba675SRob Herring 158724ba675SRob Herring&mmc1 { 159724ba675SRob Herring pinctrl-names = "default"; 160724ba675SRob Herring pinctrl-0 = <&mmc1_pins>; 161724ba675SRob Herring vmmc-supply = <®_dldo1>; 162724ba675SRob Herring vqmmc-supply = <®_cldo3>; 163724ba675SRob Herring mmc-pwrseq = <&wifi_pwrseq>; 164724ba675SRob Herring bus-width = <4>; 165724ba675SRob Herring non-removable; 166724ba675SRob Herring status = "okay"; 167724ba675SRob Herring}; 168724ba675SRob Herring 169724ba675SRob Herring&mmc1_pins { 170724ba675SRob Herring bias-pull-up; 171724ba675SRob Herring}; 172724ba675SRob Herring 173724ba675SRob Herring&mmc2 { 174724ba675SRob Herring pinctrl-names = "default"; 175724ba675SRob Herring pinctrl-0 = <&mmc2_8bit_pins>; 176724ba675SRob Herring vmmc-supply = <®_dcdc1>; 177724ba675SRob Herring bus-width = <8>; 178724ba675SRob Herring non-removable; 179724ba675SRob Herring cap-mmc-hw-reset; 180724ba675SRob Herring status = "okay"; 181724ba675SRob Herring}; 182724ba675SRob Herring 183724ba675SRob Herring&mmc2_8bit_pins { 184724ba675SRob Herring /* Increase drive strength for DDR modes */ 185724ba675SRob Herring drive-strength = <40>; 186724ba675SRob Herring}; 187724ba675SRob Herring 188724ba675SRob Herring&osc32k { 189724ba675SRob Herring /* osc32k input is from AC100 */ 190724ba675SRob Herring clocks = <&ac100_rtc 0>; 191724ba675SRob Herring}; 192724ba675SRob Herring 193724ba675SRob Herring&pio { 194724ba675SRob Herring vcc-pa-supply = <®_ldo_io1>; 195724ba675SRob Herring vcc-pb-supply = <®_aldo2>; 196724ba675SRob Herring vcc-pc-supply = <®_dcdc1>; 197724ba675SRob Herring vcc-pd-supply = <®_dc1sw>; 198724ba675SRob Herring vcc-pe-supply = <®_eldo2>; 199724ba675SRob Herring vcc-pf-supply = <®_dcdc1>; 200724ba675SRob Herring vcc-pg-supply = <®_ldo_io0>; 201724ba675SRob Herring vcc-ph-supply = <®_dcdc1>; 202724ba675SRob Herring}; 203724ba675SRob Herring 204724ba675SRob Herring&r_ir { 205724ba675SRob Herring status = "okay"; 206724ba675SRob Herring}; 207724ba675SRob Herring 208724ba675SRob Herring&r_pio { 209724ba675SRob Herring vcc-pl-supply = <®_dldo2>; 210724ba675SRob Herring vcc-pm-supply = <®_eldo3>; 211724ba675SRob Herring}; 212724ba675SRob Herring 213724ba675SRob Herring&r_rsb { 214724ba675SRob Herring status = "okay"; 215724ba675SRob Herring 216724ba675SRob Herring axp809: pmic@3a3 { 217724ba675SRob Herring reg = <0x3a3>; 218724ba675SRob Herring interrupt-parent = <&nmi_intc>; 219724ba675SRob Herring interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 220724ba675SRob Herring 221724ba675SRob Herring regulators { 222724ba675SRob Herring reg_aldo1: aldo1 { 223724ba675SRob Herring /* 224724ba675SRob Herring * TODO: This should be handled by the 225724ba675SRob Herring * USB PHY driver. 226724ba675SRob Herring */ 227724ba675SRob Herring regulator-always-on; 228724ba675SRob Herring regulator-min-microvolt = <3000000>; 229724ba675SRob Herring regulator-max-microvolt = <3000000>; 230724ba675SRob Herring regulator-name = "vcc33-usbh"; 231724ba675SRob Herring }; 232724ba675SRob Herring 233724ba675SRob Herring reg_aldo2: aldo2 { 234724ba675SRob Herring regulator-min-microvolt = <1800000>; 235724ba675SRob Herring regulator-max-microvolt = <1800000>; 236724ba675SRob Herring regulator-name = "vcc-pb-io-cam"; 237724ba675SRob Herring }; 238724ba675SRob Herring 239724ba675SRob Herring aldo3 { 240724ba675SRob Herring /* unused */ 241724ba675SRob Herring }; 242724ba675SRob Herring 243724ba675SRob Herring reg_dc1sw: dc1sw { 244724ba675SRob Herring regulator-name = "vcc-pd"; 245724ba675SRob Herring }; 246724ba675SRob Herring 247724ba675SRob Herring reg_dc5ldo: dc5ldo { 248724ba675SRob Herring regulator-always-on; 249724ba675SRob Herring regulator-min-microvolt = <800000>; 250724ba675SRob Herring regulator-max-microvolt = <1100000>; 251724ba675SRob Herring regulator-name = "vdd-cpus-09-usbh"; 252724ba675SRob Herring }; 253724ba675SRob Herring 254724ba675SRob Herring reg_dcdc1: dcdc1 { 255724ba675SRob Herring regulator-always-on; 256724ba675SRob Herring regulator-min-microvolt = <3000000>; 257724ba675SRob Herring regulator-max-microvolt = <3000000>; 258724ba675SRob Herring regulator-name = "vcc-3v"; 259724ba675SRob Herring }; 260724ba675SRob Herring 261724ba675SRob Herring reg_dcdc2: dcdc2 { 262724ba675SRob Herring regulator-min-microvolt = <800000>; 263724ba675SRob Herring regulator-max-microvolt = <1100000>; 264724ba675SRob Herring regulator-name = "vdd-gpu"; 265724ba675SRob Herring }; 266724ba675SRob Herring 267724ba675SRob Herring reg_dcdc3: dcdc3 { 268724ba675SRob Herring regulator-always-on; 269724ba675SRob Herring regulator-min-microvolt = <800000>; 270724ba675SRob Herring regulator-max-microvolt = <1100000>; 271724ba675SRob Herring regulator-name = "vdd-cpua"; 272724ba675SRob Herring }; 273724ba675SRob Herring 274724ba675SRob Herring reg_dcdc4: dcdc4 { 275724ba675SRob Herring regulator-always-on; 276724ba675SRob Herring regulator-min-microvolt = <800000>; 277724ba675SRob Herring regulator-max-microvolt = <1100000>; 278724ba675SRob Herring regulator-name = "vdd-sys-usb0-hdmi"; 279724ba675SRob Herring }; 280724ba675SRob Herring 281724ba675SRob Herring reg_dcdc5: dcdc5 { 282724ba675SRob Herring regulator-always-on; 283*dd36ad71SAndre Przywara regulator-min-microvolt = <1450000>; 284*dd36ad71SAndre Przywara regulator-max-microvolt = <1550000>; 285724ba675SRob Herring regulator-name = "vcc-dram"; 286724ba675SRob Herring }; 287724ba675SRob Herring 288724ba675SRob Herring reg_dldo1: dldo1 { 289724ba675SRob Herring /* 290724ba675SRob Herring * The WiFi chip supports a wide range 291724ba675SRob Herring * (3.0 ~ 4.8V) of voltages, and so does 292724ba675SRob Herring * this regulator (3.0 ~ 4.2V), but 293724ba675SRob Herring * Allwinner SDK always sets it to 3.3V. 294724ba675SRob Herring */ 295724ba675SRob Herring regulator-min-microvolt = <3300000>; 296724ba675SRob Herring regulator-max-microvolt = <3300000>; 297724ba675SRob Herring regulator-name = "vcc-wifi"; 298724ba675SRob Herring }; 299724ba675SRob Herring 300724ba675SRob Herring reg_dldo2: dldo2 { 301724ba675SRob Herring regulator-min-microvolt = <3000000>; 302724ba675SRob Herring regulator-max-microvolt = <3000000>; 303724ba675SRob Herring regulator-name = "vcc-pl"; 304724ba675SRob Herring }; 305724ba675SRob Herring 306724ba675SRob Herring reg_eldo1: eldo1 { 307724ba675SRob Herring regulator-min-microvolt = <1200000>; 308724ba675SRob Herring regulator-max-microvolt = <1200000>; 309724ba675SRob Herring regulator-name = "vcc-dvdd-cam"; 310724ba675SRob Herring }; 311724ba675SRob Herring 312724ba675SRob Herring reg_eldo2: eldo2 { 313724ba675SRob Herring regulator-min-microvolt = <1800000>; 314724ba675SRob Herring regulator-max-microvolt = <1800000>; 315724ba675SRob Herring regulator-name = "vcc-pe"; 316724ba675SRob Herring }; 317724ba675SRob Herring 318724ba675SRob Herring reg_eldo3: eldo3 { 319724ba675SRob Herring regulator-min-microvolt = <3000000>; 320724ba675SRob Herring regulator-max-microvolt = <3000000>; 321724ba675SRob Herring regulator-name = "vcc-pm-codec-io1"; 322724ba675SRob Herring }; 323724ba675SRob Herring 324724ba675SRob Herring reg_ldo_io0: ldo_io0 { 325724ba675SRob Herring regulator-min-microvolt = <3000000>; 326724ba675SRob Herring regulator-max-microvolt = <3000000>; 327724ba675SRob Herring regulator-name = "vcc-pg"; 328724ba675SRob Herring }; 329724ba675SRob Herring 330724ba675SRob Herring reg_ldo_io1: ldo_io1 { 331724ba675SRob Herring regulator-min-microvolt = <2500000>; 332724ba675SRob Herring regulator-max-microvolt = <2500000>; 333724ba675SRob Herring regulator-name = "vcc-pa-gmac-2v5"; 334724ba675SRob Herring }; 335724ba675SRob Herring 336724ba675SRob Herring reg_rtc_ldo: rtc_ldo { 337724ba675SRob Herring regulator-name = "vcc-rtc-vdd1v8-io"; 338724ba675SRob Herring }; 339724ba675SRob Herring 340724ba675SRob Herring sw { 341724ba675SRob Herring /* unused */ 342724ba675SRob Herring }; 343724ba675SRob Herring }; 344724ba675SRob Herring }; 345724ba675SRob Herring 346724ba675SRob Herring axp806: pmic@745 { 347724ba675SRob Herring compatible = "x-powers,axp806"; 348724ba675SRob Herring reg = <0x745>; 349724ba675SRob Herring interrupt-parent = <&nmi_intc>; 350724ba675SRob Herring interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 351724ba675SRob Herring interrupt-controller; 352724ba675SRob Herring #interrupt-cells = <1>; 353724ba675SRob Herring bldoin-supply = <®_dcdce>; 354724ba675SRob Herring 355724ba675SRob Herring regulators { 356724ba675SRob Herring reg_s_aldo1: aldo1 { 357724ba675SRob Herring regulator-always-on; 358724ba675SRob Herring regulator-min-microvolt = <3000000>; 359724ba675SRob Herring regulator-max-microvolt = <3000000>; 360724ba675SRob Herring regulator-name = "avcc"; 361724ba675SRob Herring }; 362724ba675SRob Herring 363724ba675SRob Herring aldo2 { 364724ba675SRob Herring /* 365724ba675SRob Herring * unused, but use a different name to 366724ba675SRob Herring * avoid name clash with axp809's aldo's 367724ba675SRob Herring */ 368724ba675SRob Herring regulator-name = "s_aldo2"; 369724ba675SRob Herring }; 370724ba675SRob Herring 371724ba675SRob Herring aldo3 { 372724ba675SRob Herring /* 373724ba675SRob Herring * unused, but use a different name to 374724ba675SRob Herring * avoid name clash with axp809's aldo's 375724ba675SRob Herring */ 376724ba675SRob Herring regulator-name = "s_aldo3"; 377724ba675SRob Herring }; 378724ba675SRob Herring 379724ba675SRob Herring reg_bldo1: bldo1 { 380724ba675SRob Herring regulator-always-on; 381724ba675SRob Herring regulator-min-microvolt = <1700000>; 382724ba675SRob Herring regulator-max-microvolt = <1900000>; 383724ba675SRob Herring regulator-name = "vcc18-efuse-adc-display-csi"; 384724ba675SRob Herring }; 385724ba675SRob Herring 386724ba675SRob Herring reg_bldo2: bldo2 { 387724ba675SRob Herring regulator-always-on; 388724ba675SRob Herring regulator-min-microvolt = <1700000>; 389724ba675SRob Herring regulator-max-microvolt = <1900000>; 390724ba675SRob Herring regulator-name = 391724ba675SRob Herring "vdd18-drampll-vcc18-pll-cpvdd"; 392724ba675SRob Herring }; 393724ba675SRob Herring 394724ba675SRob Herring bldo3 { 395724ba675SRob Herring /* unused */ 396724ba675SRob Herring }; 397724ba675SRob Herring 398724ba675SRob Herring reg_bldo4: bldo4 { 399724ba675SRob Herring regulator-min-microvolt = <1100000>; 400724ba675SRob Herring regulator-max-microvolt = <1300000>; 401724ba675SRob Herring regulator-name = "vcc12-hsic"; 402724ba675SRob Herring }; 403724ba675SRob Herring 404724ba675SRob Herring reg_cldo1: cldo1 { 405724ba675SRob Herring /* 406724ba675SRob Herring * This was 3V in the original design, but 407724ba675SRob Herring * 3.3V is the recommended supply voltage 408724ba675SRob Herring * for the Ethernet PHY. 409724ba675SRob Herring */ 410724ba675SRob Herring regulator-min-microvolt = <3300000>; 411724ba675SRob Herring regulator-max-microvolt = <3300000>; 412724ba675SRob Herring /* 413724ba675SRob Herring * The PHY requires 20ms after all voltages 414724ba675SRob Herring * are applied until core logic is ready and 415724ba675SRob Herring * 30ms after the reset pin is de-asserted. 416724ba675SRob Herring * Set a 100ms delay to account for PMIC 417724ba675SRob Herring * ramp time and board traces. 418724ba675SRob Herring */ 419724ba675SRob Herring regulator-enable-ramp-delay = <100000>; 420724ba675SRob Herring regulator-name = "vcc-gmac-phy"; 421724ba675SRob Herring }; 422724ba675SRob Herring 423724ba675SRob Herring reg_cldo2: cldo2 { 424724ba675SRob Herring regulator-min-microvolt = <2800000>; 425724ba675SRob Herring regulator-max-microvolt = <2800000>; 426724ba675SRob Herring regulator-name = "afvcc-cam"; 427724ba675SRob Herring }; 428724ba675SRob Herring 429724ba675SRob Herring reg_cldo3: cldo3 { 430724ba675SRob Herring regulator-min-microvolt = <3000000>; 431724ba675SRob Herring regulator-max-microvolt = <3000000>; 432724ba675SRob Herring regulator-name = "vcc-io-wifi-codec-io2"; 433724ba675SRob Herring }; 434724ba675SRob Herring 435724ba675SRob Herring reg_dcdca: dcdca { 436724ba675SRob Herring regulator-always-on; 437724ba675SRob Herring regulator-min-microvolt = <800000>; 438724ba675SRob Herring regulator-max-microvolt = <1100000>; 439724ba675SRob Herring regulator-name = "vdd-cpub"; 440724ba675SRob Herring }; 441724ba675SRob Herring 442724ba675SRob Herring reg_dcdcd: dcdcd { 443724ba675SRob Herring regulator-always-on; 444724ba675SRob Herring regulator-min-microvolt = <800000>; 445724ba675SRob Herring regulator-max-microvolt = <1100000>; 446724ba675SRob Herring regulator-name = "vdd-vpu"; 447724ba675SRob Herring }; 448724ba675SRob Herring 449724ba675SRob Herring reg_dcdce: dcdce { 450724ba675SRob Herring regulator-always-on; 451724ba675SRob Herring regulator-min-microvolt = <2100000>; 452724ba675SRob Herring regulator-max-microvolt = <2100000>; 453724ba675SRob Herring regulator-name = "vcc-bldo-codec-ldoin"; 454724ba675SRob Herring }; 455724ba675SRob Herring 456724ba675SRob Herring sw { 457724ba675SRob Herring /* 458724ba675SRob Herring * unused, but use a different name to 459724ba675SRob Herring * avoid name clash with axp809's sw 460724ba675SRob Herring */ 461724ba675SRob Herring regulator-name = "s_sw"; 462724ba675SRob Herring }; 463724ba675SRob Herring }; 464724ba675SRob Herring }; 465724ba675SRob Herring 466724ba675SRob Herring ac100: codec@e89 { 467724ba675SRob Herring compatible = "x-powers,ac100"; 468724ba675SRob Herring reg = <0xe89>; 469724ba675SRob Herring 470724ba675SRob Herring ac100_codec: codec { 471724ba675SRob Herring compatible = "x-powers,ac100-codec"; 472724ba675SRob Herring interrupt-parent = <&r_pio>; 473724ba675SRob Herring interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PL9 */ 474724ba675SRob Herring #clock-cells = <0>; 475724ba675SRob Herring clock-output-names = "4M_adda"; 476724ba675SRob Herring }; 477724ba675SRob Herring 478724ba675SRob Herring ac100_rtc: rtc { 479724ba675SRob Herring compatible = "x-powers,ac100-rtc"; 480724ba675SRob Herring interrupt-parent = <&nmi_intc>; 481724ba675SRob Herring interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 482724ba675SRob Herring clocks = <&ac100_codec>; 483724ba675SRob Herring #clock-cells = <1>; 484724ba675SRob Herring clock-output-names = "cko1_rtc", 485724ba675SRob Herring "cko2_rtc", 486724ba675SRob Herring "cko3_rtc"; 487724ba675SRob Herring }; 488724ba675SRob Herring }; 489724ba675SRob Herring}; 490724ba675SRob Herring 491724ba675SRob Herring#include "axp809.dtsi" 492724ba675SRob Herring 493724ba675SRob Herring&tcon0 { 494724ba675SRob Herring pinctrl-names = "default"; 495724ba675SRob Herring pinctrl-0 = <&lcd0_rgb888_pins>; 496724ba675SRob Herring}; 497724ba675SRob Herring 498724ba675SRob Herring&tcon0_out { 499724ba675SRob Herring tcon0_out_vga: endpoint { 500724ba675SRob Herring remote-endpoint = <&vga_dac_in>; 501724ba675SRob Herring }; 502724ba675SRob Herring}; 503724ba675SRob Herring 504724ba675SRob Herring&uart0 { 505724ba675SRob Herring pinctrl-names = "default"; 506724ba675SRob Herring pinctrl-0 = <&uart0_ph_pins>; 507724ba675SRob Herring status = "okay"; 508724ba675SRob Herring}; 509