1a1d32814SChristopher Obbard// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2a1d32814SChristopher Obbard 3a1d32814SChristopher Obbard/dts-v1/; 4a1d32814SChristopher Obbard 5a1d32814SChristopher Obbard#include "rk3588.dtsi" 6a1d32814SChristopher Obbard 7a1d32814SChristopher Obbard/ { 8a1d32814SChristopher Obbard model = "Radxa ROCK 5 Model B"; 9a1d32814SChristopher Obbard compatible = "radxa,rock-5b", "rockchip,rk3588"; 10a1d32814SChristopher Obbard 11a1d32814SChristopher Obbard aliases { 126fb13f88SChristopher Obbard mmc0 = &sdhci; 13a1d32814SChristopher Obbard serial2 = &uart2; 14a1d32814SChristopher Obbard }; 15a1d32814SChristopher Obbard 16a1d32814SChristopher Obbard chosen { 17a1d32814SChristopher Obbard stdout-path = "serial2:1500000n8"; 18a1d32814SChristopher Obbard }; 19a1d32814SChristopher Obbard 20*f36bb176SCristian Ciocaltea fan: pwm-fan { 21*f36bb176SCristian Ciocaltea compatible = "pwm-fan"; 22*f36bb176SCristian Ciocaltea cooling-levels = <0 95 145 195 255>; 23*f36bb176SCristian Ciocaltea fan-supply = <&vcc5v0_sys>; 24*f36bb176SCristian Ciocaltea pwms = <&pwm1 0 50000 0>; 25*f36bb176SCristian Ciocaltea #cooling-cells = <2>; 26*f36bb176SCristian Ciocaltea }; 27*f36bb176SCristian Ciocaltea 28a1d32814SChristopher Obbard vcc5v0_sys: vcc5v0-sys-regulator { 29a1d32814SChristopher Obbard compatible = "regulator-fixed"; 30a1d32814SChristopher Obbard regulator-name = "vcc5v0_sys"; 31a1d32814SChristopher Obbard regulator-always-on; 32a1d32814SChristopher Obbard regulator-boot-on; 33a1d32814SChristopher Obbard regulator-min-microvolt = <5000000>; 34a1d32814SChristopher Obbard regulator-max-microvolt = <5000000>; 35a1d32814SChristopher Obbard }; 36a1d32814SChristopher Obbard}; 37a1d32814SChristopher Obbard 381e9c2404SShreeya Patel&i2c6 { 391e9c2404SShreeya Patel status = "okay"; 401e9c2404SShreeya Patel 411e9c2404SShreeya Patel hym8563: rtc@51 { 421e9c2404SShreeya Patel compatible = "haoyu,hym8563"; 431e9c2404SShreeya Patel reg = <0x51>; 441e9c2404SShreeya Patel #clock-cells = <0>; 451e9c2404SShreeya Patel clock-frequency = <32768>; 461e9c2404SShreeya Patel clock-output-names = "hym8563"; 471e9c2404SShreeya Patel pinctrl-names = "default"; 481e9c2404SShreeya Patel pinctrl-0 = <&hym8563_int>; 491e9c2404SShreeya Patel interrupt-parent = <&gpio0>; 501e9c2404SShreeya Patel interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 511e9c2404SShreeya Patel wakeup-source; 521e9c2404SShreeya Patel }; 531e9c2404SShreeya Patel}; 541e9c2404SShreeya Patel 551e9c2404SShreeya Patel&pinctrl { 561e9c2404SShreeya Patel hym8563 { 571e9c2404SShreeya Patel hym8563_int: hym8563-int { 581e9c2404SShreeya Patel rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 591e9c2404SShreeya Patel }; 601e9c2404SShreeya Patel }; 611e9c2404SShreeya Patel}; 621e9c2404SShreeya Patel 63*f36bb176SCristian Ciocaltea&pwm1 { 64*f36bb176SCristian Ciocaltea status = "okay"; 65*f36bb176SCristian Ciocaltea}; 66*f36bb176SCristian Ciocaltea 67a1d32814SChristopher Obbard&sdhci { 68a1d32814SChristopher Obbard bus-width = <8>; 69a1d32814SChristopher Obbard no-sdio; 70a1d32814SChristopher Obbard no-sd; 71a1d32814SChristopher Obbard non-removable; 72a1d32814SChristopher Obbard max-frequency = <200000000>; 73a1d32814SChristopher Obbard mmc-hs400-1_8v; 74a1d32814SChristopher Obbard mmc-hs400-enhanced-strobe; 75a1d32814SChristopher Obbard status = "okay"; 76a1d32814SChristopher Obbard}; 77a1d32814SChristopher Obbard 78a1d32814SChristopher Obbard&uart2 { 79a1d32814SChristopher Obbard pinctrl-0 = <&uart2m0_xfer>; 80a1d32814SChristopher Obbard status = "okay"; 81a1d32814SChristopher Obbard}; 82