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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/mediatek/mt7623a.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
  2 /*
  3  * Copyright (c) 2017-2018 MediaTek Inc.
  4  * Author: Sean Wang <sean.wang@mediatek.com>
  5  *
  6  */
  7 
  8 /dts-v1/;
  9 #include <dt-bindings/power/mt7623a-power.h>
 10 #include "mt7623.dtsi"
 11 
 12 &afe {
 13         power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>;
 14 };
 15 
 16 &crypto {
 17         power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>;
 18 };
 19 
 20 &gmac0 {
 21         status = "okay";
 22         phy-mode = "trgmii";
 23 
 24         fixed-link {
 25                 speed = <1000>;
 26                 full-duplex;
 27                 pause;
 28         };
 29 };
 30 
 31 &gmac1 {
 32         status = "okay";
 33         phy-mode = "rgmii";
 34 
 35         fixed-link {
 36                 speed = <1000>;
 37                 full-duplex;
 38                 pause;
 39         };
 40 };
 41 
 42 &eth {
 43         status = "okay";
 44         power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>;
 45 
 46         mdio: mdio-bus {
 47                 #address-cells = <1>;
 48                 #size-cells = <0>;
 49 
 50                 switch0: switch@1f {
 51                         compatible = "mediatek,mt7530";
 52                         reg = <0x1f>;
 53                         mediatek,mcm;
 54                         resets = <&ethsys MT2701_ETHSYS_MCM_RST>;
 55                         reset-names = "mcm";
 56                         core-supply = <&mt6323_vpa_reg>;
 57                         io-supply = <&mt6323_vemc3v3_reg>;
 58 
 59                         ports {
 60                                 #address-cells = <1>;
 61                                 #size-cells = <0>;
 62 
 63                                 port@0 {
 64                                         status = "disabled";
 65                                         reg = <0>;
 66                                         label = "swp0";
 67                                 };
 68 
 69                                 port@1 {
 70                                         status = "disabled";
 71                                         reg = <1>;
 72                                         label = "swp1";
 73                                 };
 74 
 75                                 port@2 {
 76                                         status = "disabled";
 77                                         reg = <2>;
 78                                         label = "swp2";
 79                                 };
 80 
 81                                 port@3 {
 82                                         status = "disabled";
 83                                         reg = <3>;
 84                                         label = "swp3";
 85                                 };
 86 
 87                                 port@4 {
 88                                         status = "disabled";
 89                                         reg = <4>;
 90                                         label = "swp4";
 91                                 };
 92 
 93                                 port@5 {
 94                                         reg = <5>;
 95                                         label = "cpu";
 96                                         ethernet = <&gmac1>;
 97                                         phy-mode = "rgmii";
 98 
 99                                         fixed-link {
100                                                 speed = <1000>;
101                                                 full-duplex;
102                                                 pause;
103                                         };
104                                 };
105 
106                                 port@6 {
107                                         reg = <6>;
108                                         label = "cpu";
109                                         ethernet = <&gmac0>;
110                                         phy-mode = "trgmii";
111 
112                                         fixed-link {
113                                                 speed = <1000>;
114                                                 full-duplex;
115                                                 pause;
116                                         };
117                                 };
118                         };
119                 };
120         };
121 };
122 
123 &nandc {
124         power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>;
125 };
126 
127 &pcie {
128         power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
129 };
130 
131 &scpsys {
132         compatible = "mediatek,mt7623a-scpsys";
133         clocks = <&topckgen CLK_TOP_ETHIF_SEL>;
134         clock-names = "ethif";
135 };
136 
137 &usb0 {
138         power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>;
139 };
140 
141 &usb1 {
142         power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
143 };
144 
145 &usb2 {
146         power-domains = <&scpsys MT7623A_POWER_DOMAIN_HIF>;
147 };

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