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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3568-fastrhino-r68s.dts

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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2 
  3 #include "rk3568-fastrhino-r66s.dtsi"
  4 
  5 / {
  6         model = "Lunzn FastRhino R68S";
  7         compatible = "lunzn,fastrhino-r68s", "rockchip,rk3568";
  8 
  9         aliases {
 10                 ethernet0 = &gmac0;
 11                 ethernet1 = &gmac1;
 12                 mmc0 = &sdhci;
 13         };
 14 
 15         adc-keys {
 16                 compatible = "adc-keys";
 17                 io-channels = <&saradc 0>;
 18                 io-channel-names = "buttons";
 19                 keyup-threshold-microvolt = <1800000>;
 20 
 21                 button-recovery {
 22                         label = "Recovery";
 23                         linux,code = <KEY_VENDOR>;
 24                         press-threshold-microvolt = <1750>;
 25                 };
 26         };
 27 };
 28 
 29 &gmac0 {
 30         assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
 31         assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>;
 32         assigned-clock-rates = <0>, <125000000>;
 33         clock_in_out = "output";
 34         phy-handle = <&rgmii_phy0>;
 35         phy-mode = "rgmii-id";
 36         pinctrl-names = "default";
 37         pinctrl-0 = <&gmac0_miim
 38                      &gmac0_tx_bus2
 39                      &gmac0_rx_bus2
 40                      &gmac0_rgmii_clk
 41                      &gmac0_rgmii_bus>;
 42         status = "okay";
 43 };
 44 
 45 &gmac1 {
 46         assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
 47         assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>;
 48         assigned-clock-rates = <0>, <125000000>;
 49         clock_in_out = "output";
 50         phy-handle = <&rgmii_phy1>;
 51         phy-mode = "rgmii-id";
 52         pinctrl-names = "default";
 53         pinctrl-0 = <&gmac1m1_miim
 54                      &gmac1m1_tx_bus2
 55                      &gmac1m1_rx_bus2
 56                      &gmac1m1_rgmii_clk
 57                      &gmac1m1_rgmii_bus>;
 58         status = "okay";
 59 };
 60 
 61 &mdio0 {
 62         rgmii_phy0: ethernet-phy@1 {
 63                 compatible = "ethernet-phy-ieee802.3-c22";
 64                 reg = <0x1>;
 65                 pinctrl-0 = <&eth_phy0_reset_pin>;
 66                 pinctrl-names = "default";
 67                 reset-assert-us = <20000>;
 68                 reset-deassert-us = <100000>;
 69                 reset-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
 70         };
 71 };
 72 
 73 &mdio1 {
 74         rgmii_phy1: ethernet-phy@1 {
 75                 compatible = "ethernet-phy-ieee802.3-c22";
 76                 reg = <0x1>;
 77                 pinctrl-0 = <&eth_phy1_reset_pin>;
 78                 pinctrl-names = "default";
 79                 reset-assert-us = <20000>;
 80                 reset-deassert-us = <100000>;
 81                 reset-gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_LOW>;
 82         };
 83 };
 84 
 85 &pinctrl {
 86         gmac0 {
 87                 eth_phy0_reset_pin: eth-phy0-reset-pin {
 88                         rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
 89                 };
 90         };
 91 
 92         gmac1 {
 93                 eth_phy1_reset_pin: eth-phy1-reset-pin {
 94                         rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
 95                 };
 96         };
 97 };
 98 
 99 &pmu_io_domains {
100         vccio3-supply = <&vcc_3v3>;
101 };
102 
103 &sdhci {
104         bus-width = <8>;
105         max-frequency = <200000000>;
106         non-removable;
107         pinctrl-names = "default";
108         pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
109         status = "okay";
110 };

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