1*aa1a8ff2SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 2*aa1a8ff2SEmmanuel Vadot/* 3*aa1a8ff2SEmmanuel Vadot * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 4*aa1a8ff2SEmmanuel Vadot * Copyright (C) 2021 Rouven Czerwinski, Pengutronix 5*aa1a8ff2SEmmanuel Vadot * Copyright (C) 2023 Leonard Göhrs, Pengutronix 6*aa1a8ff2SEmmanuel Vadot */ 7*aa1a8ff2SEmmanuel Vadot 8*aa1a8ff2SEmmanuel Vadot/dts-v1/; 9*aa1a8ff2SEmmanuel Vadot 10*aa1a8ff2SEmmanuel Vadot#include "stm32mp157.dtsi" 11*aa1a8ff2SEmmanuel Vadot#include "stm32mp15xc-lxa-tac.dtsi" 12*aa1a8ff2SEmmanuel Vadot 13*aa1a8ff2SEmmanuel Vadot/ { 14*aa1a8ff2SEmmanuel Vadot model = "Linux Automation Test Automation Controller (TAC) Gen 1"; 15*aa1a8ff2SEmmanuel Vadot compatible = "lxa,stm32mp157c-tac-gen1", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 16*aa1a8ff2SEmmanuel Vadot 17*aa1a8ff2SEmmanuel Vadot backlight: backlight { 18*aa1a8ff2SEmmanuel Vadot compatible = "pwm-backlight"; 19*aa1a8ff2SEmmanuel Vadot power-supply = <&v3v3>; 20*aa1a8ff2SEmmanuel Vadot 21*aa1a8ff2SEmmanuel Vadot brightness-levels = <0 31 63 95 127 159 191 223 255>; 22*aa1a8ff2SEmmanuel Vadot default-brightness-level = <7>; 23*aa1a8ff2SEmmanuel Vadot pwms = <&backlight_pwm 1 1000000 0>; 24*aa1a8ff2SEmmanuel Vadot }; 25*aa1a8ff2SEmmanuel Vadot 26*aa1a8ff2SEmmanuel Vadot reg_iobus_12v: regulator-iobus-12v { 27*aa1a8ff2SEmmanuel Vadot compatible = "regulator-fixed"; 28*aa1a8ff2SEmmanuel Vadot vin-supply = <®_12v>; 29*aa1a8ff2SEmmanuel Vadot 30*aa1a8ff2SEmmanuel Vadot gpio = <&gpioh 13 GPIO_ACTIVE_HIGH>; 31*aa1a8ff2SEmmanuel Vadot enable-active-high; 32*aa1a8ff2SEmmanuel Vadot regulator-max-microvolt = <12000000>; 33*aa1a8ff2SEmmanuel Vadot regulator-min-microvolt = <12000000>; 34*aa1a8ff2SEmmanuel Vadot regulator-name = "12V_IOBUS"; 35*aa1a8ff2SEmmanuel Vadot }; 36*aa1a8ff2SEmmanuel Vadot}; 37*aa1a8ff2SEmmanuel Vadot 38*aa1a8ff2SEmmanuel Vadot&gpioa { 39*aa1a8ff2SEmmanuel Vadot gpio-line-names = "", "", "STACK_CS2", "", "STACK_CS3", /* 0 */ 40*aa1a8ff2SEmmanuel Vadot "ETH_GPIO1", "ETH_INT", "", "", "", /* 5 */ 41*aa1a8ff2SEmmanuel Vadot "", "", "", "BOOTROM_LED", "ETH_LAB_LEDRP", /* 10 */ 42*aa1a8ff2SEmmanuel Vadot ""; /* 15 */ 43*aa1a8ff2SEmmanuel Vadot}; 44*aa1a8ff2SEmmanuel Vadot 45*aa1a8ff2SEmmanuel Vadot&gpioc { 46*aa1a8ff2SEmmanuel Vadot gpio-line-names = "", "STACK_CS1", "", "", "", /* 0 */ 47*aa1a8ff2SEmmanuel Vadot "", "", "", "", "", /* 5 */ 48*aa1a8ff2SEmmanuel Vadot "", ""; /* 10 */ 49*aa1a8ff2SEmmanuel Vadot}; 50*aa1a8ff2SEmmanuel Vadot 51*aa1a8ff2SEmmanuel Vadot&gpu { 52*aa1a8ff2SEmmanuel Vadot status = "disabled"; 53*aa1a8ff2SEmmanuel Vadot}; 54*aa1a8ff2SEmmanuel Vadot 55*aa1a8ff2SEmmanuel Vadot&i2c1 { 56*aa1a8ff2SEmmanuel Vadot powerboard_gpio: gpio@24 { 57*aa1a8ff2SEmmanuel Vadot compatible = "nxp,pca9570"; 58*aa1a8ff2SEmmanuel Vadot reg = <0x24>; 59*aa1a8ff2SEmmanuel Vadot 60*aa1a8ff2SEmmanuel Vadot #gpio-cells = <2>; 61*aa1a8ff2SEmmanuel Vadot gpio-controller; 62*aa1a8ff2SEmmanuel Vadot gpio-line-names = "DUT_PWR_EN", "DUT_PWR_DISCH", "DUT_PWR_ADCRST", ""; 63*aa1a8ff2SEmmanuel Vadot }; 64*aa1a8ff2SEmmanuel Vadot}; 65*aa1a8ff2SEmmanuel Vadot 66*aa1a8ff2SEmmanuel Vadot&spi2 { 67*aa1a8ff2SEmmanuel Vadot adc@0 { 68*aa1a8ff2SEmmanuel Vadot compatible = "ti,lmp92064"; 69*aa1a8ff2SEmmanuel Vadot reg = <0>; 70*aa1a8ff2SEmmanuel Vadot spi-max-frequency = <5000000>; 71*aa1a8ff2SEmmanuel Vadot vdd-supply = <®_pb_3v3>; 72*aa1a8ff2SEmmanuel Vadot vdig-supply = <®_pb_3v3>; 73*aa1a8ff2SEmmanuel Vadot reset-gpios = <&powerboard_gpio 2 GPIO_ACTIVE_HIGH>; 74*aa1a8ff2SEmmanuel Vadot 75*aa1a8ff2SEmmanuel Vadot shunt-resistor-micro-ohms = <15000>; 76*aa1a8ff2SEmmanuel Vadot }; 77*aa1a8ff2SEmmanuel Vadot}; 78*aa1a8ff2SEmmanuel Vadot 79*aa1a8ff2SEmmanuel Vadot&timers1 { 80*aa1a8ff2SEmmanuel Vadot /* spare dmas for other usage */ 81*aa1a8ff2SEmmanuel Vadot /delete-property/dmas; 82*aa1a8ff2SEmmanuel Vadot /delete-property/dma-names; 83*aa1a8ff2SEmmanuel Vadot 84*aa1a8ff2SEmmanuel Vadot status = "okay"; 85*aa1a8ff2SEmmanuel Vadot 86*aa1a8ff2SEmmanuel Vadot backlight_pwm: pwm { 87*aa1a8ff2SEmmanuel Vadot pinctrl-names = "default", "sleep"; 88*aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pwm1_pins_c>; 89*aa1a8ff2SEmmanuel Vadot pinctrl-1 = <&pwm1_sleep_pins_c>; 90*aa1a8ff2SEmmanuel Vadot 91*aa1a8ff2SEmmanuel Vadot status = "okay"; 92*aa1a8ff2SEmmanuel Vadot }; 93*aa1a8ff2SEmmanuel Vadot}; 94