1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Device Tree Source for the HiHope RZ/G2[MN] 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 GPI 19 linux,default-trigger 20 default-state = "off"; 21 }; 22 23 wlan_active_led { 24 label = "yellow:wlan"; 25 gpios = <&gpio7 1 GPI 26 linux,default-trigger 27 default-state = "off"; 28 }; 29 }; 30 31 wlan_en_reg: regulator-wlan_en { 32 compatible = "regulator-fixed" 33 regulator-name = "wlan-en-regu 34 regulator-min-microvolt = <180 35 regulator-max-microvolt = <180 36 startup-delay-us = <70000>; 37 38 gpio = <&gpio_expander 1 GPIO_ 39 enable-active-high; 40 }; 41 }; 42 43 &hscif0 { 44 bluetooth { 45 compatible = "ti,wl1837-st"; 46 enable-gpios = <&gpio_expander 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 78 79 dai-format = "i2s"; 80 bitclock-master = <&rs 81 frame-master = <&rsnd_ 82 83 playback = <&ssi2>; 84 }; 85 }; 86 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.