Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: renesas: rzg2ul-smarc: Enable PMIC and built-in RTC, GPIO and ONKEY

Enable PMIC DA9062 and the built-in RTC, GPIO and ONKEY modules on the
RZ/{G2UL,Five} SMARC EVK development boards.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240226194715.427597-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Biju Das and committed by
Geert Uytterhoeven
1aa24b0b 93e09fdc

+58
+58
arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi
··· 5 5 * Copyright (C) 2022 Renesas Electronics Corp. 6 6 */ 7 7 8 + #include <dt-bindings/gpio/gpio.h> 8 9 #include "rzg2ul-smarc-pinfunction.dtsi" 9 10 #include "rz-smarc-common.dtsi" 10 11 ··· 23 22 24 23 &i2c0 { 25 24 clock-frequency = <400000>; 25 + 26 + da9062: pmic@58 { 27 + compatible = "dlg,da9062"; 28 + reg = <0x58>; 29 + gpio-controller; 30 + #gpio-cells = <2>; 31 + 32 + gpio { 33 + compatible = "dlg,da9062-gpio"; 34 + }; 35 + 36 + onkey { 37 + compatible = "dlg,da9062-onkey"; 38 + }; 39 + 40 + pmic-good-hog { 41 + gpio-hog; 42 + gpios = <4 GPIO_ACTIVE_HIGH>; 43 + output-high; 44 + line-name = "PMIC_PGOOD"; 45 + }; 46 + 47 + rtc { 48 + compatible = "dlg,da9062-rtc"; 49 + }; 50 + 51 + sd0-pwr-sel-hog { 52 + gpio-hog; 53 + gpios = <1 GPIO_ACTIVE_HIGH>; 54 + input; 55 + line-name = "SD0_PWR_SEL"; 56 + }; 57 + 58 + sd1-pwr-sel-hog { 59 + gpio-hog; 60 + gpios = <2 GPIO_ACTIVE_HIGH>; 61 + input; 62 + line-name = "SD1_PWR_SEL"; 63 + }; 64 + 65 + sw-et0-en-hog { 66 + gpio-hog; 67 + gpios = <3 GPIO_ACTIVE_HIGH>; 68 + input; 69 + line-name = "SW_ET0_EN#"; 70 + }; 71 + 72 + thermal { 73 + compatible = "dlg,da9062-thermal"; 74 + status = "disabled"; 75 + }; 76 + 77 + watchdog { 78 + compatible = "dlg,da9062-watchdog"; 79 + status = "disabled"; 80 + }; 81 + }; 26 82 27 83 versa3: clock-generator@68 { 28 84 compatible = "renesas,5p35023";