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