xref: /linux/arch/arm64/boot/dts/renesas/hihope-rev2.dtsi (revision 55d0969c451159cff86949b38c39171cab962069)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the HiHope RZ/G2[MN] main board Rev.2.0 common
4 * parts
5 *
6 * Copyright (C) 2020 Renesas Electronics Corp.
7 */
8
9#include <dt-bindings/gpio/gpio.h>
10#include "hihope-common.dtsi"
11
12/ {
13	leds {
14		compatible = "gpio-leds";
15
16		bt_active_led {
17			label = "blue:bt";
18			gpios = <&gpio7  0 GPIO_ACTIVE_HIGH>;
19			linux,default-trigger = "hci0-power";
20			default-state = "off";
21		};
22
23		wlan_active_led {
24			label = "yellow:wlan";
25			gpios = <&gpio7  1 GPIO_ACTIVE_HIGH>;
26			linux,default-trigger = "phy0tx";
27			default-state = "off";
28		};
29	};
30
31	wlan_en_reg: regulator-wlan_en {
32		compatible = "regulator-fixed";
33		regulator-name = "wlan-en-regulator";
34		regulator-min-microvolt = <1800000>;
35		regulator-max-microvolt = <1800000>;
36		startup-delay-us = <70000>;
37
38		gpio = <&gpio_expander 1 GPIO_ACTIVE_HIGH>;
39		enable-active-high;
40	};
41};
42
43&hscif0 {
44	bluetooth {
45		compatible = "ti,wl1837-st";
46		enable-gpios = <&gpio_expander 2 GPIO_ACTIVE_HIGH>;
47	};
48};
49
50&i2c4 {
51	gpio_expander: gpio@20 {
52		compatible = "onnn,pca9654";
53		reg = <0x20>;
54		gpio-controller;
55		#gpio-cells = <2>;
56	};
57};
58
59&pfc {
60	sound_clk_pins: sound_clk {
61		groups = "audio_clk_a_a";
62		function = "audio_clk";
63	};
64};
65
66&rcar_sound {
67	pinctrl-0 = <&sound_clk_pins>;
68	pinctrl-names = "default";
69
70	status = "okay";
71
72	rsnd_port: port {
73		rsnd_endpoint: endpoint {
74			remote-endpoint = <&dw_hdmi0_snd_in>;
75
76			dai-format = "i2s";
77			bitclock-master = <&rsnd_endpoint>;
78			frame-master = <&rsnd_endpoint>;
79
80			playback = <&ssi2>;
81		};
82	};
83};
84