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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.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-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         snps,reset-gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
 43         snps,reset-active-low;
 44         /* Reset time is 15ms, 50ms for rtl8211f */
 45         snps,reset-delays-us = <0 15000 50000>;
 46         tx_delay = <0x3c>;
 47         rx_delay = <0x2f>;
 48         status = "okay";
 49 };
 50 
 51 &gmac1 {
 52         assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
 53         assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>;
 54         assigned-clock-rates = <0>, <125000000>;
 55         clock_in_out = "output";
 56         phy-handle = <&rgmii_phy1>;
 57         phy-mode = "rgmii-id";
 58         pinctrl-names = "default";
 59         pinctrl-0 = <&gmac1m1_miim
 60                      &gmac1m1_tx_bus2
 61                      &gmac1m1_rx_bus2
 62                      &gmac1m1_rgmii_clk
 63                      &gmac1m1_rgmii_bus>;
 64         snps,reset-gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_LOW>;
 65         snps,reset-active-low;
 66         /* Reset time is 15ms, 50ms for rtl8211f */
 67         snps,reset-delays-us = <0 15000 50000>;
 68         tx_delay = <0x4f>;
 69         rx_delay = <0x26>;
 70         status = "okay";
 71 };
 72 
 73 &mdio0 {
 74         rgmii_phy0: ethernet-phy@1 {
 75                 compatible = "ethernet-phy-ieee802.3-c22";
 76                 reg = <0x1>;
 77                 pinctrl-0 = <&eth_phy0_reset_pin>;
 78                 pinctrl-names = "default";
 79         };
 80 };
 81 
 82 &mdio1 {
 83         rgmii_phy1: ethernet-phy@1 {
 84                 compatible = "ethernet-phy-ieee802.3-c22";
 85                 reg = <0x1>;
 86                 pinctrl-0 = <&eth_phy1_reset_pin>;
 87                 pinctrl-names = "default";
 88         };
 89 };
 90 
 91 &pinctrl {
 92         gmac0 {
 93                 eth_phy0_reset_pin: eth-phy0-reset-pin {
 94                         rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
 95                 };
 96         };
 97 
 98         gmac1 {
 99                 eth_phy1_reset_pin: eth-phy1-reset-pin {
100                         rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
101                 };
102         };
103 };
104 
105 &pmu_io_domains {
106         vccio3-supply = <&vcc_3v3>;
107 };
108 
109 &sdhci {
110         bus-width = <8>;
111         max-frequency = <200000000>;
112         non-removable;
113         pinctrl-names = "default";
114         pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
115         status = "okay";
116 };

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