~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright (c) 2020 Engicam srl
  4  * Copyright (c) 2020 Amarula Solutions
  5  * Copyright (c) 2020 Amarula Solutions(India)
  6  */
  7 
  8 / {
  9         aliases {
 10                 ethernet0 = &gmac;
 11                 mmc1 = &sdmmc;
 12                 mmc2 = &sdio;
 13         };
 14 
 15         vcc5v0_sys: vcc5v0-sys {
 16                 compatible = "regulator-fixed";
 17                 regulator-name = "vcc5v0_sys";  /* +5V */
 18                 regulator-always-on;
 19                 regulator-boot-on;
 20                 regulator-min-microvolt = <5000000>;
 21                 regulator-max-microvolt = <5000000>;
 22         };
 23 
 24         sdio_pwrseq: sdio-pwrseq {
 25                 compatible = "mmc-pwrseq-simple";
 26                 clocks = <&xin32k>;
 27                 clock-names = "ext_clock";
 28                 post-power-on-delay-ms = <80>;
 29                 pinctrl-names = "default";
 30                 pinctrl-0 = <&wifi_enable_h>;
 31         };
 32 
 33         vcc3v3_btreg: vcc3v3-btreg {
 34                 compatible = "regulator-gpio";
 35                 enable-active-high;
 36                 pinctrl-names = "default";
 37                 pinctrl-0 = <&bt_enable_h>;
 38                 regulator-name = "btreg-gpio-supply";
 39                 regulator-min-microvolt = <3300000>;
 40                 regulator-max-microvolt = <3300000>;
 41                 regulator-always-on;
 42                 states = <3300000 0x0>;
 43         };
 44 
 45         vcc3v3_rf_aux_mod: vcc3v3-rf-aux-mod {
 46                 compatible = "regulator-fixed";
 47                 regulator-name = "vcc3v3_rf_aux_mod";
 48                 regulator-min-microvolt = <3300000>;
 49                 regulator-max-microvolt = <3300000>;
 50                 regulator-always-on;
 51                 regulator-boot-on;
 52                 vin-supply = <&vcc5v0_sys>;
 53         };
 54 
 55         xin32k: xin32k {
 56                 compatible = "fixed-clock";
 57                 #clock-cells = <0>;
 58                 clock-frequency = <32768>;
 59                 clock-output-names = "xin32k";
 60         };
 61 };
 62 
 63 &sdio {
 64         #address-cells = <1>;
 65         #size-cells = <0>;
 66         bus-width = <4>;
 67         clock-frequency = <50000000>;
 68         cap-sdio-irq;
 69         cap-sd-highspeed;
 70         keep-power-in-suspend;
 71         mmc-pwrseq = <&sdio_pwrseq>;
 72         non-removable;
 73         sd-uhs-sdr104;
 74         status = "okay";
 75 
 76         brcmf: wifi@1 {
 77                 compatible = "brcm,bcm4329-fmac";
 78                 reg = <1>;
 79         };
 80 };
 81 
 82 &gmac {
 83         clock_in_out = "output";
 84         phy-supply = <&vcc_3v3>;        /* +3V3_SOM */
 85         snps,reset-active-low;
 86         snps,reset-delays-us = <0 50000 50000>;
 87         snps,reset-gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
 88         status = "okay";
 89 };
 90 
 91 &pwm0 {
 92         status = "okay";
 93 };
 94 
 95 &sdmmc {
 96         cap-sd-highspeed;
 97         card-detect-delay = <800>;
 98         vmmc-supply = <&vcc_3v3>;       /* +3V3_SOM */
 99         vqmmc-supply = <&vcc_3v3>;
100         status = "okay";
101 };
102 
103 &u2phy {
104         status = "okay";
105 
106         u2phy_host: host-port {
107                 status = "okay";
108         };
109 
110         u2phy_otg: otg-port {
111                 status = "okay";
112         };
113 };
114 
115 &uart2 {
116         pinctrl-0 = <&uart2m1_xfer>;
117         status = "okay";
118 };
119 
120 &usb20_otg {
121         status = "okay";
122 };
123 
124 &usb_host0_ehci {
125         status = "okay";
126 };
127 
128 &usb_host0_ohci {
129         status = "okay";
130 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php