hihope-rev2.dtsi (1595B)
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 /* Single DAI */ 73 #sound-dai-cells = <0>; 74 75 rsnd_port: port { 76 rsnd_endpoint: endpoint { 77 remote-endpoint = <&dw_hdmi0_snd_in>; 78 79 dai-format = "i2s"; 80 bitclock-master = <&rsnd_endpoint>; 81 frame-master = <&rsnd_endpoint>; 82 83 playback = <&ssi2>; 84 }; 85 }; 86};