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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h5-cc.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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 // Copyright (C) 2020 Chen-Yu Tsai <wens@csie.org>
  3 
  4 #include "sun50i-h5-libretech-all-h3-cc.dts"
  5 
  6 / {
  7         model = "Libre Computer Board ALL-H5-CC H5";
  8         compatible = "libretech,all-h5-cc-h5", "allwinner,sun50i-h5";
  9 
 10         aliases {
 11                 spi0 = &spi0;
 12         };
 13 
 14         reg_gmac_3v3: gmac-3v3 {
 15                 compatible = "regulator-fixed";
 16                 regulator-name = "gmac-3v3";
 17                 regulator-min-microvolt = <3300000>;
 18                 regulator-max-microvolt = <3300000>;
 19                 startup-delay-us = <5000>;
 20                 enable-active-high;
 21                 gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
 22                 vin-supply = <&reg_vcc5v0>;
 23         };
 24 };
 25 
 26 &codec {
 27         /* No line out; only onboard microphone */
 28         allwinner,audio-routing =
 29                 "MIC1", "Mic",
 30                 "Mic",  "MBIAS";
 31 };
 32 
 33 /* This board has external PHY */
 34 &emac {
 35         pinctrl-names = "default";
 36         pinctrl-0 = <&emac_rgmii_pins>;
 37         phy-supply = <&reg_gmac_3v3>;
 38         phy-handle = <&ext_rgmii_phy>;
 39         phy-mode = "rgmii-id";
 40         /delete-property/ allwinner,leds-active-low;
 41         status = "okay";
 42 };
 43 
 44 &external_mdio {
 45         ext_rgmii_phy: ethernet-phy@1 {
 46                 compatible = "ethernet-phy-ieee802.3-c22";
 47                 reg = <1>;
 48         };
 49 };
 50 
 51 &spi0  {
 52         status = "okay";
 53 
 54         flash@0 {
 55                 #address-cells = <1>;
 56                 #size-cells = <1>;
 57                 compatible = "jedec,spi-nor";
 58                 reg = <0>;
 59                 spi-max-frequency = <50000000>;
 60         };
 61 };

~ [ 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