1 // SPDX-License-Identifier: (GPL-2.0-or-later 2 /* 3 * Copyright (C) 2020 STMicroelectronics - All 4 * Copyright (C) 2021 Rouven Czerwinski, Pengu 5 * Copyright (C) 2023 Leonard Göhrs, Pengutro 6 */ 7 8 /dts-v1/; 9 10 #include "stm32mp157.dtsi" 11 #include "stm32mp15xc-lxa-tac.dtsi" 12 13 / { 14 model = "Linux Automation Test Automat 15 compatible = "lxa,stm32mp157c-tac-gen2 16 17 backlight: backlight { 18 compatible = "pwm-backlight"; 19 power-supply = <&v3v3>; 20 21 brightness-levels = <0 31 63 9 22 default-brightness-level = <7> 23 pwms = <&led_pwm 3 1000000 0>; 24 }; 25 26 reg_iobus_12v: regulator-iobus-12v { 27 compatible = "regulator-fixed" 28 vin-supply = <®_12v>; 29 gpio = <&gpioh 13 GPIO_ACTIVE_ 30 regulator-max-microvolt = <120 31 regulator-min-microvolt = <120 32 regulator-name = "12V_IOBUS"; 33 }; 34 35 led-controller-1 { 36 compatible = "pwm-leds-multico 37 38 multi-led { 39 color = <LED_COLOR_ID_ 40 function = LED_FUNCTIO 41 max-brightness = <6553 42 43 led-red { 44 active-low; 45 color = <LED_C 46 pwms = <&led_p 47 }; 48 49 led-green { 50 active-low; 51 color = <LED_C 52 pwms = <&led_p 53 }; 54 55 led-blue { 56 active-low; 57 color = <LED_C 58 pwms = <&led_p 59 }; 60 }; 61 }; 62 63 led-controller-2 { 64 compatible = "gpio-leds"; 65 66 led-5 { 67 label = "tac:green:iob 68 gpios = <&gpiog 1 GPIO 69 }; 70 71 led-6 { 72 label = "tac:green:can 73 gpios = <&gpiof 3 GPIO 74 }; 75 76 led-7 { 77 label = "tac:green:out 78 gpios = <&gpiob 8 GPIO 79 }; 80 81 led-8 { 82 label = "tac:green:out 83 gpios = <&gpiog 3 GPIO 84 }; 85 86 led-9 { 87 label = "tac:green:uar 88 gpios = <&gpiod 3 GPIO 89 }; 90 91 led-10 { 92 label = "tac:green:uar 93 gpios = <&gpiof 6 GPIO 94 }; 95 96 led-11 { 97 label = "tac:green:usb 98 gpios = <&gpioc 8 GPIO 99 }; 100 101 led-12 { 102 label = "tac:green:usb 103 gpios = <&gpiod 6 GPIO 104 }; 105 106 led-13 { 107 label = "tac:green:usb 108 gpios = <&gpiob 9 GPIO 109 }; 110 111 led-14 { 112 label = "tac:green:usb 113 gpios = <&gpiod 14 GPI 114 linux,default-trigger 115 }; 116 117 led-15 { 118 label = "tac:green:dut 119 gpios = <&gpioa 15 GPI 120 }; 121 }; 122 }; 123 124 &gpioa { 125 gpio-line-names = "", "", "DUT_PWR_EN" 126 "ETH_GPIO1", "ETH_INT", "", "", "", 127 "", "", "", "BOOTROM_LED", "ETH_LAB_LE 128 ""; 129 }; 130 131 &gpioc { 132 gpio-line-names = "", "DUT_PWR_DISCH", 133 "", "", "", "", "", 134 "", ""; 135 }; 136 137 &gpu { 138 status = "disabled"; 139 }; 140 141 &m_can2 { 142 termination-gpios = <&gpioe 4 GPIO_ACT 143 termination-ohms = <120>; 144 }; 145 146 &spi2 { 147 adc@0 { 148 compatible = "ti,lmp92064"; 149 reg = <0>; 150 151 reset-gpios = <&gpioa 4 (GPIO_ 152 shunt-resistor-micro-ohms = <1 153 spi-max-frequency = <5000000>; 154 vdd-supply = <®_pb_3v3>; 155 vdig-supply = <®_pb_3v3>; 156 }; 157 }; 158 159 &timers8 { 160 /* spare dmas for other usage */ 161 /delete-property/dmas; 162 /delete-property/dma-names; 163 164 status = "okay"; 165 166 led_pwm: pwm { 167 pinctrl-names = "default", "sl 168 pinctrl-0 = <&pwm8_pins_b>; 169 pinctrl-1 = <&pwm8_sleep_pins_ 170 status = "okay"; 171 }; 172 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.