diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2020-03-25 21:49:11 +0100 | 
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2020-03-25 21:49:11 +0100 | 
| commit | 19a71cf494edd730d3433fc676a92a1101655e1e (patch) | |
| tree | 2a6cadd3d42ce74fdc5d4019ef5a43f478c3c449 | |
| parent | c661d66ca1674ffa305788d20136da83027ab2ea (diff) | |
| parent | d136d2588b21b1a07515632ed61120c9f262909b (diff) | |
Merge tag 'mvebu-dt64-5.7-1' of git://git.infradead.org/linux-mvebu into arm/dt
mvebu dt64 for 5.7 (part 1)
Improve network support on two Armada 8040 based board:
Clearfog GT 8 and Macchiatobin.
Add ethernet alias on Espressobin for U-Boot support.
Fix various dt compilation issue or warning.
* tag 'mvebu-dt64-5.7-1' of git://git.infradead.org/linux-mvebu:
  arm64: dts: marvell: Fix cpu compatible for AP807-quad
  arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi
  arm64: dts: marvell: build ESPRESSObin variants
  arm64: dts: marvell: espressobin: indicate dts version
  arm64: dts: marvell: espressobin: add ethernet alias
  arm64: dts: mcbin: support 2W SFP modules
  arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay
Link: https://lore.kernel.org/r/87h7yqx7w2.fsf@FE-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
9 files changed, 28 insertions, 6 deletions
| diff --git a/arch/arm64/boot/dts/marvell/Makefile b/arch/arm64/boot/dts/marvell/Makefile index f1b5127f0b89..3e5f2e7a040c 100644 --- a/arch/arm64/boot/dts/marvell/Makefile +++ b/arch/arm64/boot/dts/marvell/Makefile @@ -2,6 +2,9 @@  # Mvebu SoC Family  dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-db.dtb  dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin.dtb +dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-emmc.dtb +dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-v7.dtb +dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-espressobin-v7-emmc.dtb  dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-turris-mox.dtb  dtb-$(CONFIG_ARCH_MVEBU) += armada-3720-uDPU.dtb  dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts index bd9ed9dc9c3e..ec72a11ed80f 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts @@ -11,6 +11,8 @@   * Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schematics.pdf   */ +/dts-v1/; +  #include "armada-3720-espressobin.dtsi"  / { diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts index 6e876a6d9532..03733fd92732 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts @@ -11,6 +11,8 @@   * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200   */ +/dts-v1/; +  #include "armada-3720-espressobin.dtsi"  / { diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts index 0f8405d085fd..8570c5f47d7d 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts @@ -11,6 +11,8 @@   * Schematic available at http://wiki.espressobin.net/tiki-download_file.php?fileId=200   */ +/dts-v1/; +  #include "armada-3720-espressobin.dtsi"  / { diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi index 53b8ac55a7f3..42e992f9c8a5 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi @@ -7,12 +7,16 @@   *   */ -/dts-v1/; -  #include <dt-bindings/gpio/gpio.h>  #include "armada-372x.dtsi"  / { +	aliases { +		ethernet0 = ð0; +		serial0 = &uart0; +		serial1 = &uart1; +	}; +  	chosen {  		stdout-path = "serial0:115200n8";  	}; diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts index a211a046b2f2..b90d78a5724b 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts @@ -367,6 +367,7 @@  		pinctrl-0 = <&cp0_copper_eth_phy_reset>;  		reset-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;  		reset-assert-us = <10000>; +		reset-deassert-us = <10000>;  	};  	switch0: switch0@4 { diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi index 572e2610e0a3..cbcb210cb6d8 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi @@ -71,6 +71,7 @@  		tx-fault-gpio  = <&cp1_gpio1 26 GPIO_ACTIVE_HIGH>;  		pinctrl-names = "default";  		pinctrl-0 = <&cp1_sfpp0_pins>; +		maximum-power-milliwatt = <2000>;  	};  	sfp_eth1: sfp-eth1 { @@ -83,6 +84,7 @@  		tx-fault-gpio = <&cp0_gpio2 30 GPIO_ACTIVE_HIGH>;  		pinctrl-names = "default";  		pinctrl-0 = <&cp1_sfpp1_pins &cp0_sfpp1_pins>; +		maximum-power-milliwatt = <2000>;  	};  	sfp_eth3: sfp-eth3 { @@ -95,6 +97,7 @@  		tx-fault-gpio = <&cp0_gpio2 19 GPIO_ACTIVE_HIGH>;  		pinctrl-names = "default";  		pinctrl-0 = <&cp0_sfp_1g_pins &cp1_sfp_1g_pins>; +		maximum-power-milliwatt = <2000>;  	};  }; diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi index 09849558a776..fcab5173fe67 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi @@ -53,4 +53,9 @@  			cache-sets = <512>;  		};  	}; + +	thermal-zones { +		/delete-node/ ap-thermal-cpu2; +		/delete-node/ ap-thermal-cpu3; +	};  }; diff --git a/arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi b/arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi index 840466e143b4..68782f161f12 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap807-quad.dtsi @@ -17,7 +17,7 @@  		cpu0: cpu@0 {  			device_type = "cpu"; -			compatible = "arm,cortex-a72", "arm,armv8"; +			compatible = "arm,cortex-a72";  			reg = <0x000>;  			enable-method = "psci";  			#cooling-cells = <2>; @@ -32,7 +32,7 @@  		};  		cpu1: cpu@1 {  			device_type = "cpu"; -			compatible = "arm,cortex-a72", "arm,armv8"; +			compatible = "arm,cortex-a72";  			reg = <0x001>;  			enable-method = "psci";  			#cooling-cells = <2>; @@ -47,7 +47,7 @@  		};  		cpu2: cpu@100 {  			device_type = "cpu"; -			compatible = "arm,cortex-a72", "arm,armv8"; +			compatible = "arm,cortex-a72";  			reg = <0x100>;  			enable-method = "psci";  			#cooling-cells = <2>; @@ -62,7 +62,7 @@  		};  		cpu3: cpu@101 {  			device_type = "cpu"; -			compatible = "arm,cortex-a72", "arm,armv8"; +			compatible = "arm,cortex-a72";  			reg = <0x101>;  			enable-method = "psci";  			#cooling-cells = <2>; | 
