| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-meson8b.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Amlogic Meson8b, Meson8m2 and GXBB DWMAC glue layer 10 #include <linux/clk-provider.h> 30 #define PRG_ETH0_EXT_RMII_MODE 4 33 #define PRG_ETH0_CLK_M250_SEL_MASK GENMASK(4, 4) 35 /* TX clock delay in ns = "8ns / 4 * tx_dly_val" (where 8ns are exactly one 37 * 0ns = 0x0, 2ns = 0x1, 4ns = 0x2, 6ns = 0x3 60 /* An internal counter based on the "timing-adjustment" clock. The counter is 84 int (*set_phy_mode)(struct meson8b_dwmac *dwmac); 107 static void meson8b_dwmac_mask_bits(struct meson8b_dwmac *dwmac, u32 reg, in meson8b_dwmac_mask_bits() argument [all …]
|
| H A D | dwmac-loongson1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Loongson-1 DWMAC glue layer 5 * Copyright (C) 2011-2023 Keguang Zhang <keguang.zhang@gmail.com> 21 /* Loongson-1 SYSCON Registers */ 25 /* Loongson-1B SYSCON Register Bits */ 26 #define GMAC1_USE_UART1 BIT(4) 37 /* Loongson-1C SYSCON Register Bits */ 42 #define PHY_INTF_RMII FIELD_PREP(PHY_INTF_SELI, 4) 59 struct ls1x_dwmac *dwmac = plat_dat->bsp_priv; in ls1b_dwmac_setup() local 64 /* This shouldn't fail - stmmac_get_platform_resources() in ls1b_dwmac_setup() [all …]
|
| H A D | dwmac-visconti.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #define ETHER_CLK_SEL_DIV_SEL_2 BIT(4) 58 struct visconti_eth *dwmac = bsp_priv; in visconti_eth_set_clk_tx_rate() local 76 return -EINVAL; in visconti_eth_set_clk_tx_rate() 80 val = readl(dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate() 84 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate() 86 /* Set Clock-Mux, Start clock, Set TX_O direction */ in visconti_eth_set_clk_tx_rate() 88 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate() 91 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate() 94 writel(val, dwmac->reg + REG_ETHER_CLOCK_SEL); in visconti_eth_set_clk_tx_rate() [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | starfive,jh7110-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/starfive,jh7110-dwmac.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: StarFive JH7110 DWMAC glue layer 11 - Emil Renner Berthing <kernel@esmil.dk> 12 - Samin Guo <samin.guo@starfivetech.com> 19 - starfive,jh7100-dwmac 20 - starfive,jh7110-dwmac 22 - compatible [all …]
|
| H A D | toshiba,visconti-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/toshiba,visconti-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Toshiba Visconti DWMAC Ethernet controller 10 - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> 17 - toshiba,visconti-dwmac 19 - compatible 22 - $ref: snps,dwmac.yaml# 27 - items: [all …]
|
| H A D | nxp,lpc1850-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/nxp,lpc1850-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 12 # We need a select here so we don't match all nodes with 'snps,dwmac' 18 - nxp,lpc1850-dwmac 20 - compatible 25 - enum: 26 - nxp,lpc1850-dwmac [all …]
|
| H A D | sophgo,sg2044-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/sophgo,sg2044-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sophgo SG2044 DWMAC glue layer 10 - Inochi Amaoto <inochiama@gmail.com> 17 - sophgo,sg2044-dwmac 18 - sophgo,sg2042-dwmac 20 - compatible 25 - items: [all …]
|
| H A D | sophgo,cv1800b-dwmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/sophgo,cv1800b-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sophgo CV1800B DWMAC glue layer 10 - Inochi Amaoto <inochiama@gmail.com> 17 - sophgo,cv1800b-dwmac 19 - compatible 24 - const: sophgo,cv1800b-dwmac 25 - const: snps,dwmac-3.70a [all …]
|
| H A D | intel,dwmac-plat.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/intel,dwmac-plat.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Intel DWMAC glue layer 10 - Vineetha G. Jaya Kumaran <vineetha.g.jaya.kumaran@intel.com> 17 - intel,keembay-dwmac 19 - compatible 22 - $ref: snps,dwmac.yaml# 27 - items: [all …]
|
| H A D | rockchip-dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/rockchip-dwmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Wu <david.wu@rock-chips.com> 12 # We need a select here so we don't match all nodes with 'snps,dwmac' 18 - rockchip,px30-gmac 19 - rockchip,rk3128-gmac 20 - rockchip,rk3228-gmac 21 - rockchip,rk3288-gmac [all …]
|
| H A D | qcom,ethqos.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Konrad Dybcio <konradybcio@kernel.org> 18 - $ref: snps,dwmac.yaml# 23 - items: 24 - enum: 25 - qcom,qcs615-ethqos 26 - const: qcom,qcs404-ethqos [all …]
|
| /linux/arch/arm64/boot/dts/altera/ |
| H A D | socfpga_stratix10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/stratix10-clock.h> 12 compatible = "altr,socfpga-stratix10"; 13 #address-cells = <2>; 14 #size-cells = <2>; 16 reserved-memory { 17 #address-cells = <2>; [all …]
|
| /linux/arch/arm64/boot/dts/st/ |
| H A D | stm32mp253.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved 11 compatible = "arm,cortex-a35"; 14 enable-method = "psci"; 15 power-domains = <&CPU_PD1>; 16 power-domain-names = "psci"; 20 arm-pmu { 23 interrupt-affinity = <&cpu0>, <&cpu1>; 27 CPU_PD1: power-domain-cpu1 { 28 #power-domain-cells = <0>; [all …]
|
| H A D | stm32mp233.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2025 - All Rights Reserved 11 compatible = "arm,cortex-a35"; 14 enable-method = "psci"; 15 power-domains = <&cpu1_pd>; 16 power-domain-names = "psci"; 20 arm-pmu { 23 interrupt-affinity = <&cpu0>, <&cpu1>; 27 cpu1_pd: power-domain-cpu1 { 28 #power-domain-cells = <0>; [all …]
|
| /linux/arch/arm64/boot/dts/intel/ |
| H A D | socfpga_agilex.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/agilex-clock.h> 13 compatible = "intel,socfpga-agilex"; 14 #address-cells = <2>; 15 #size-cells = <2>; 17 reserved-memory { [all …]
|
| H A D | socfpga_n5x_socdk.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 compatible = "intel,n5x-socdk", "intel,socfpga-agilex"; 19 stdout-path = "serial0:115200n8"; 29 sdram_edac: memory-controller@f87f8000 { 30 compatible = "snps,ddrc-3.80a"; 32 interrupts = <0 175 4>; 38 compatible = "intel,easic-n5x-clkmgr"; 43 phy-mode = "rgmii"; 44 phy-handle = <&phy0>; 46 max-frame-size = <9000>; [all …]
|
| /linux/arch/loongarch/boot/dts/ |
| H A D | loongson-2k1000-ref.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include "dt-bindings/thermal/thermal.h" 9 #include "loongson-2k1000.dtsi" 12 compatible = "loongson,ls2k1000-ref", "loongson,ls2k1000"; 13 model = "Loongson-2K1000 Reference Board"; 20 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 #address-cells = <2>; 32 #size-cells = <2>; [all …]
|
| /linux/arch/mips/boot/dts/loongson/ |
| H A D | loongson1b.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2023-2025 Keguang Zhang <keguang.zhang@gmail.com> 6 /dts-v1/; 10 cpu_opp_table: opp-table { 11 compatible = "operating-points-v2"; 12 opp-shared; 14 opp-44000000 { 15 opp-hz = /bits/ 64 <44000000>; 17 opp-47142000 { 18 opp-hz = /bits/ 64 <47142000>; [all …]
|
| H A D | loongson64-2k1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/interrupt-controller/irq.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 21 #clock-cells = <1>; 27 #clock-cells = <0>; 28 compatible = "fixed-clock"; [all …]
|
| /linux/arch/riscv/boot/dts/sophgo/ |
| H A D | cv180x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/clock/sophgo,cv1800.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "cv18xx-reset.h" 13 #address-cells = <1>; 14 #size-cells = <1>; 17 compatible = "fixed-clock"; 18 clock-output-names = "osc_25m"; 19 #clock-cells = <0>; [all …]
|
| /linux/arch/arc/boot/dts/ |
| H A D | abilis_tb10x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 12 compatible = "abilis,arc-tb10x"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 28 compatible = "snps,arc-timer"; 30 interrupt-parent = <&intc>; 36 compatible = "snps,arc-timer"; 41 #address-cells = <1>; [all …]
|
| H A D | hsdk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/reset/snps,hsdk-reset.h> 18 #address-cells = <2>; 19 #size-cells = <2>; 22 … "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; 30 #address-cells = <1>; 31 #size-cells = <0>; 62 input_clk: input-clk { [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-s4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/meson-s4-gpio.h> 10 #include <dt-bindings/clock/amlogic,s4-pll-clkc.h> 11 #include <dt-bindings/clock/amlogic,s4-peripherals-clkc.h> 12 #include <dt-bindings/power/meson-s4-power.h> 13 #include <dt-bindings/reset/amlogic,meson-s4-reset.h> 17 #address-cells = <2>; [all …]
|
| /linux/arch/mips/boot/dts/ni/ |
| H A D | 169445.dts | 1 /dts-v1/; 4 #address-cells = <1>; 5 #size-cells = <1>; 9 #address-cells = <1>; 10 #size-cells = <0>; 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <50000000>; 30 cpu_intc: interrupt-controller { 31 #address-cells = <0>; [all …]
|
| /linux/arch/arm/boot/dts/intel/socfpga/ |
| H A D | socfpga_cyclone5_sodia.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 12 compatible = "macnica,sodia", "altr,socfpga-cyclone5", "altr,socfpga"; 16 stdout-path = "serial0:115200n8"; 30 compatible = "regulator-fixed"; 31 regulator-name = "3.3V"; 32 regulator-min-microvolt = <3300000>; 33 regulator-max-microvolt = <3300000>; 36 leds: gpio-leds { [all …]
|