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