Skip to contentSkip to conversation

ARM: dts: nuvoton: Add Quanta GIS BMC Device Tree

PATCH In review David Wang 4 participants 13 messages Mar 3, 2023 – Mar 17, 2023

Subsystems (2)
lore
Share & tools
lore

David Wang

author
#0 lore raw

PATCH 1/7 ARM: dts: nuvoton: Add Quanta GIS BMC Device Tree

Add the device tree for the Quanta GIS BMC and it's based on NPCM730 SoC

---
 arch/arm/boot/dts/Makefile                    |    1 +
 .../boot/dts/nuvoton-npcm730-gis-pincfg.dtsi  |  732 +++++++++++
 arch/arm/boot/dts/nuvoton-npcm730-gis.dts     | 1076 +++++++++++++++++
 3 files changed, 1809 insertions(+)
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gis-pincfg.dtsi
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gis.dts
arch/arm/boot/dts/Makefile +1 -0
index efe4152e5846..40659106cfe1 100644
@@ -396,6 +396,7 @@ dtb-$(CONFIG_ARCH_WPCM450) += \
 dtb-$(CONFIG_ARCH_NPCM7XX) += \
 	nuvoton-npcm730-gsj.dtb \
 	nuvoton-npcm730-gbs.dtb \
+	nuvoton-npcm730-gis.dtb \
 	nuvoton-npcm730-kudo.dtb \
 	nuvoton-npcm750-evb.dtb \
 	nuvoton-npcm750-runbmc-olympus.dtb
arch/arm/boot/dts/nuvoton-npcm730-gis-pincfg.dtsi new file +732 -0

732 lines not on this page · raw message

arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +1076 -0

1,076 lines not on this page · raw message

Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/7 ARM: dts: nuvoton: Add Quanta GSZ BMC Device Tree

Add the device tree for the Quanta GSZ BMC and it's based on NPCM730 SoC

---
 arch/arm/boot/dts/Makefile                    |    1 +
 .../boot/dts/nuvoton-npcm730-gsz-gpio.dtsi    |  380 ++++
 arch/arm/boot/dts/nuvoton-npcm730-gsz.dts     | 1523 +++++++++++++++++
 3 files changed, 1904 insertions(+)
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gsz-gpio.dtsi
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gsz.dts
arch/arm/boot/dts/Makefile +1 -0
index 40659106cfe1..f2bbbd76d3a9 100644
@@ -397,6 +397,7 @@ dtb-$(CONFIG_ARCH_NPCM7XX) += \
 	nuvoton-npcm730-gsj.dtb \
 	nuvoton-npcm730-gbs.dtb \
 	nuvoton-npcm730-gis.dtb \
+	nuvoton-npcm730-gsz.dtb \
 	nuvoton-npcm730-kudo.dtb \
 	nuvoton-npcm750-evb.dtb \
 	nuvoton-npcm750-runbmc-olympus.dtb
arch/arm/boot/dts/nuvoton-npcm730-gsz-gpio.dtsi new file +380 -0

380 lines not on this page · raw message

arch/arm/boot/dts/nuvoton-npcm730-gsz.dts new file +1523 -0

1,523 lines not on this page · raw message

Signature · 1 line
2.25.1
#2 lore raw

Re: [PATCH 2/7] ARM: dts: nuvoton: Add Quanta GSZ BMC Device Tree

Quoted 16 lines · David Wang

Add the device tree for the Quanta GSZ BMC and it's based on NPCM730 SoC

(quoted diff) +1 -0
+};
arch/arm/boot/dts/nuvoton-npcm730-gsz.dts new file +3 -0
new file mode 100644
index 000000000000..c9f11880ef6d
@@ -0,0 +1,1523 @@
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (c) 2021 Quanta Computer Inc. [email protected]

arch/arm/boot/dts/nuvoton-npcm730-gsz.dts line 13

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gsz.dts new file +10 -0
+
+/dts-v1/;
+#include "nuvoton-npcm730.dtsi"
+#include "nuvoton-npcm730-gsz-gpio.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/i2c/i2c.h>
+
+/ {
+	model = "Quanta GSZ Board (Device Tree v01.10)";
+	compatible = "nuvoton,npcm750";

Same problems.

Quoted 85 lines
arch/arm/boot/dts/nuvoton-npcm730-gsz.dts new file +85 -0
+
+	aliases {
+		serial0 = &serial0;
+		serial1 = &serial1;
+		serial2 = &serial2;
+		serial3 = &serial3;
+		udc5 = &udc5;
+		udc6 = &udc6;
+		udc7 = &udc7;
+		udc8 = &udc8;
+		emmc0 = &sdhci0;
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		i2c3 = &i2c3;
+		i2c4 = &i2c4;
+		i2c5 = &i2c5;
+		i2c6 = &i2c6;
+		i2c7 = &i2c7;
+		i2c8 = &i2c8;
+		i2c9 = &i2c9;
+		i2c10 = &i2c10;
+		i2c11 = &i2c11;
+		i2c12 = &i2c12;
+		i2c13 = &i2c13;
+		i2c14 = &i2c14;
+		fiu0 = &fiu0;
+		fiu1 = &fiu3;
+		i2c16 = &i2c_9SQ440NQQI8;
+		i2c17 = &i2c_db2001;
+		i2c18 = &i2c_db1200;
+		i2c19 = &i2c_io_exp_1;
+		i2c20 = &i2c_cpu0_pirom;
+		i2c21 = &i2c_cpu1_pirom;
+		i2c22 = &i2c_ncsi_clk;
+		i2c23 = &i2c_m2;
+		i2c24 = &i2c_fivra_cpu0;
+		i2c25 = &i2c_fivra_cpu1;
+		i2c26 = &i2c_vccfa_cpu0;
+		i2c27 = &i2c_vccfa_cpu1;
+		i2c28 = &i2c_vccd_cpu0;
+		i2c29 = &i2c_vccd_cpu1;
+		i2c30 = &i2c_hotswap;
+		i2c31 = &i2c_tps_1;
+		i2c32 = &i2c_p12v_1;
+		i2c33 = &i2c_p12v_2;
+		i2c34 = &i2c_fan_controller_1;
+		i2c35 = &i2c_i2cool_1;
+		i2c36 = &i2c_i2cool_2;
+		i2c37 = &i2c_i2cool_3;
+		i2c38 = &i2c_seq_mobo;
+		i2c39 = &i2c_fru_2;
+		i2c40 = &i2c_io_exp_2;
+		i2c41 = &i2c_io_exp_3;
+		i2c43 = &i2c_fru_3;
+		i2c44 = &i2c_seq;
+		i2c45 = &i2c_fru_1;
+		i2c46 = &i2c_tang;
+		i2c51 = &i2c_pe0_0;
+		i2c52 = &i2c_pe0_1;
+		i2c53 = &i2c_pe0_2;
+		i2c54 = &i2c_pe1_0;
+		i2c55 = &i2c_pe1_1;
+		i2c56 = &i2c_pe1_2;
+		i2c57 = &i2c_pe2_0;
+		i2c58 = &i2c_pe2_1;
+		i2c59 = &i2c_pe2_2;
+		i2c60 = &i2c_pe3_0;
+		i2c61 = &i2c_pe3_1;
+		i2c62 = &i2c_pe3_2;
+		i2c63 = &i2c_pe4_0;
+		i2c64 = &i2c_pe4_1;
+		i2c65 = &i2c_pe4_2;
+		i2c66 = &i2c_pe5_0;
+		i2c67 = &i2c_pe5_1;
+		i2c68 = &i2c_pe5_2;
+		i2c69 = &i2c_pe6_0;
+		i2c70 = &i2c_pe6_1;
+		i2c71 = &i2c_pe6_2;
+		i2c72 = &i2c_pe7_0;
+		i2c73 = &i2c_pe7_1;
+		i2c74 = &i2c_pe7_2;
+	};
+
+	chosen {

arch/arm/boot/dts/nuvoton-npcm730-gsz.dts line 108

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gsz.dts new file +10 -0
+		stdout-path = &serial3;
+	};
+
+	memory {
+		reg = <0 0x40000000>;
+	};
+
+	gpio-keys {
+		compatible = "gpio-keys";
+		efuse-pg {

and all my other comments also apply...

Best regards,
Krzysztof

#3 lore raw

Re: [PATCH 2/7] ARM: dts: nuvoton: Add Quanta GSZ BMC Device Tree

In reply to David Wang
Thank you for the patch! Yet something to improve:

Hi David,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on soc/for-next arm/for-next arm/fixes arm64/for-next/core clk/clk-next kvmarm/next rockchip/for-next shawnguo/for-next xilinx-xlnx/master linus/master v6.2 next-20230303] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/David-Wang/ARM-dts-nuvoton-Add-Quanta-GSZ-BMC-Device-Tree/20230303-143845
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20230303063435.803097-2-davidwang%40quantatw.com
patch subject: [PATCH 2/7] ARM: dts: nuvoton: Add Quanta GSZ BMC Device Tree
config: arm-randconfig-r046-20230302 (https://download.01.org/0day-ci/archive/20230304/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/582e8c7ca5de26f639e46b839d9b4c6cbf7e43cf
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review David-Wang/ARM-dts-nuvoton-Add-Quanta-GSZ-BMC-Device-Tree/20230303-143845 git checkout 582e8c7ca5de26f639e46b839d9b4c6cbf7e43cf
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:223.1-6 Label or path emc0 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:231.1-4 Label or path mc not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:239.1-7 Label or path ohci1 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:243.1-5 Label or path aes not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:247.1-5 Label or path sha not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:251.1-6 Label or path udc5 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:255.1-6 Label or path udc6 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:259.1-6 Label or path udc7 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:263.1-6 Label or path udc8 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:267.1-9 Label or path pcimbox not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:271.1-8 Label or path sdhci0 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:366.1-5 Label or path otp not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:384.1-10 Label or path lpc_host not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsz.dts:1506.1-7 Label or path peci0 not found

FATAL ERROR: Syntax error parsing input tree

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
author
#4 lore raw

PATCH 3/7 ARM: dts: nuvoton: gbs: Split SPI flash partition

In reply to David Wang

Split the primary and secondary BIOS SPI EEPROMs in 2 partitions

---
 arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 29 ++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts +28 -1
index 9e9eba8bad5e..a33766e430d7 100644
@@ -414,7 +414,20 @@ flash@0 {
 		spi-max-frequency = <50000000>;
 		spi-rx-bus-width = <2>;
 		m25p,fast-read;
-		label = "pnor";
+		label = "bios";
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			bios-primary@0 {
+				label = "bios-primary";
+				reg = <0x0000000 0x2000000>;
+			};
+			bios-secondary@2000000 {
+				label = "bios-secondary";
+				reg = <0x2000000 0x2000000>;
+			};
+		};
 	};
 	flash@1 {
 		compatible = "jedec,spi-nor";
@@ -424,6 +437,20 @@ flash@1 {
 		spi-max-frequency = <50000000>;
 		spi-rx-bus-width = <2>;
 		m25p,fast-read;
+		label = "bios-2";
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			bios-2-primary@0 {
+				label = "bios-2-primary";
+				reg = <0x0000000 0x2000000>;
+			};
+			bios-2-secondary@2000000 {
+				label = "bios-2-secondary";
+				reg = <0x2000000 0x2000000>;
+			};
+		};
 	};
 };
 
Signature · 1 line
2.25.1
author
#5 lore raw

PATCH 4/7 ARM: dts: nuvoton: gbs: Remove ethernet aliases

In reply to David Wang

Alias "ethernet" in dts conflicted with systemd v252 naming rules and caused a rename. Remove the aliases to avoid renaming.

---
 arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts +0 -1
index a33766e430d7..b27fe12e3962 100644
@@ -10,7 +10,6 @@ / {
 	compatible = "quanta,gbs-bmc","nuvoton,npcm730";
 
 	aliases {
-		ethernet1 = &gmac0;
 		serial0 = &serial0;
 		serial1 = &serial1;
 		serial2 = &serial2;
Signature · 1 line
2.25.1
author
#6 lore raw

PATCH 5/7 ARM: dts: nuvoton: gsj: Correct gpio-pins

In reply to David Wang

Correct gpio-pins accoring to the nuvoton pinctrl driver.

---
 arch/arm/boot/dts/nuvoton-npcm730-gsj-gpio.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/nuvoton-npcm730-gsj-gpio.dtsi +4 -4
index 53cfd15fa03f..527755dfd4e1 100644
@@ -99,12 +99,12 @@ gpio19pp_pins: gpio19pp-pins {
 			drive-push-pull;
 		};
 		gpio24pp_pins: gpio24pp-pins {
-			pins = "GPIO24/IOXHDO";
+			pins = "GPIO24/HGPIO4/IOXHDO";
 			bias-disable;
 			drive-push-pull;
 		};
 		gpio25pp_pins: gpio25pp-pins {
-			pins = "GPIO25/IOXHDI";
+			pins = "GPIO25/HGPIO5/IOXHDI";
 			bias-disable;
 			drive-push-pull;
 		};
@@ -114,12 +114,12 @@ gpio37od_pins: gpio37od-pins {
 			drive-open-drain;
 		};
 		gpio59pp_pins: gpio59pp-pins {
-			pins = "GPIO59/SMB3DSDA";
+			pins = "GPIO59/HGPIO6/SMB3DSDA";
 			bias-disable;
 			drive-push-pull;
 		};
 		gpio60_pins: gpio60-pins {
-			pins = "GPIO60/SMB3DSCL";
+			pins = "GPIO60/HGPIO7/SMB3DSCL";
 			bias-disable;
 			input-enable;
 		};
Signature · 1 line
2.25.1
author
#7 lore raw

PATCH 6/7 ARM: dts: nuvoton: gsj: Add non-mainline nodes

In reply to David Wang

This is the remaining non-mainline component of the patch that adds the GSJ machine.

---
 arch/arm/boot/dts/nuvoton-npcm730-gsj.dts | 35 +++++++++++++++++++++++
 1 file changed, 35 insertions(+)
arch/arm/boot/dts/nuvoton-npcm730-gsj.dts +35 -0
index 2a394cc15284..48110f8aa3ca 100644
@@ -14,6 +14,7 @@ / {
 	aliases {
 		ethernet1 = &gmac0;
 		serial3 = &serial3;
+		udc9 = &udc9;
 		i2c1 = &i2c1;
 		i2c2 = &i2c2;
 		i2c3 = &i2c3;
@@ -184,10 +185,40 @@ &gmac0 {
 	status = "okay";
 };
 
+&mc {
+	status = "okay";
+};
+
+&emc0 {
+	phy-mode = "rmii";
+	use-ncsi;
+	status = "okay";
+};
+
 &ehci1 {
 	status = "okay";
 };
 
+&ohci1 {
+	status = "okay";
+};
+
+&aes {
+	status = "okay";
+};
+
+&sha {
+	status = "okay";
+};
+
+&pcimbox {
+	status = "okay";
+};
+
+&udc9 {
+	status = "okay";
+};
+
 &watchdog1 {
 	status = "okay";
 };
@@ -216,6 +247,10 @@ &adc {
 	status = "okay";
 };
 
+&otp {
+	status = "okay";
+};
+
 &i2c1 {
 	status = "okay";
 
Signature · 1 line
2.25.1
#8 lore raw

Re: [PATCH 6/7] ARM: dts: nuvoton: gsj: Add non-mainline nodes

Thank you for the patch! Yet something to improve:

Hi David,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on soc/for-next arm/for-next arm/fixes arm64/for-next/core clk/clk-next kvmarm/next rockchip/for-next shawnguo/for-next xilinx-xlnx/master linus/master v6.2 next-20230303] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/David-Wang/ARM-dts-nuvoton-Add-Quanta-GSZ-BMC-Device-Tree/20230303-143845
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20230303063435.803097-6-davidwang%40quantatw.com
patch subject: [PATCH 6/7] ARM: dts: nuvoton: gsj: Add non-mainline nodes
config: arm-randconfig-r046-20230302 (https://download.01.org/0day-ci/archive/20230304/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/e0e9ec65c5d1ad7030102833e6ee800d936bf266
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review David-Wang/ARM-dts-nuvoton-Add-Quanta-GSZ-BMC-Device-Tree/20230303-143845 git checkout e0e9ec65c5d1ad7030102833e6ee800d936bf266
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:188.1-4 Label or path mc not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:192.1-6 Label or path emc0 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:202.1-7 Label or path ohci1 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:206.1-5 Label or path aes not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:210.1-5 Label or path sha not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:214.1-9 Label or path pcimbox not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:218.1-6 Label or path udc9 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gsj.dts:250.1-5 Label or path otp not found

FATAL ERROR: Syntax error parsing input tree

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
author
#9 lore raw

PATCH 7/7 ARM: dts: nuvoton: gsj: Remove ethernet aliases

In reply to David Wang

Alias "ethernet" in dts conflicted with systemd v252 naming rules and caused a rename. Remove the aliases to avoid renaming.

---
 arch/arm/boot/dts/nuvoton-npcm730-gsj.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/nuvoton-npcm730-gsj.dts +0 -1
index 48110f8aa3ca..2b3e0af5b928 100644
@@ -12,7 +12,6 @@ / {
 	compatible = "nuvoton,npcm750";
 
 	aliases {
-		ethernet1 = &gmac0;
 		serial3 = &serial3;
 		udc9 = &udc9;
 		i2c1 = &i2c1;
Signature · 1 line
2.25.1
#10 lore raw
In reply to David Wang
Quoted 14 lines · David Wang

Add the device tree for the Quanta GIS BMC and it's based on NPCM730 SoC

(quoted diff) +1 -0
+};
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +2 -0
new file mode 100644
index 000000000000..1422b2aadebf
@@ -0,0 +1,1076 @@
+// SPDX-License-Identifier: GPL-2.0
+//

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 12

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+// Copyright (c) 2020 Quanta Computer Inc. [email protected]
+
+/dts-v1/;
+#include "nuvoton-npcm730.dtsi"
+#include "nuvoton-npcm730-gis-pincfg.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+	model = "Quanta GIS Board (Device Tree v01.17)";
+	compatible = "nuvoton,npcm750";

That's not a correct compatible for the board. Add new, correct compatible (with vendor prefix) and document it in the bindings.

Quoted 65 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +65 -0
+
+	aliases {
+		serial0 = &serial0;
+		serial1 = &serial1;
+		serial2 = &serial2;
+		serial3 = &serial3;
+		udc5 = &udc5;
+		udc6 = &udc6;
+		udc7 = &udc7;
+		udc8 = &udc8;
+		udc9 = &udc9;
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		i2c3 = &i2c3;
+		i2c4 = &i2c4;
+		i2c8 = &i2c8;
+		i2c11 = &i2c11;
+		i2c14 = &i2c14;
+		i2c15 = &i2c15;
+		i2c16 = &i2c_cpu0_dimmA;
+		i2c17 = &i2c_cpu0_dimmE;
+		i2c18 = &i2c_cpu1_dimmA;
+		i2c19 = &i2c_cpu1_dimmE;
+		i2c20 = &i2c_clock_gen_0;
+		i2c21 = &i2c_clock_gen_1;
+		i2c22 = &i2c_clock_gen_2;
+		i2c23 = &i2c_clock_gen_3;
+		i2c24 = &i2c_slot0;
+		i2c25 = &i2c_slot1;
+		i2c26 = &i2c_slot2;
+		i2c27 = &i2c_slot3;
+		i2c28 = &i2c_slot4;
+		i2c29 = &i2c_slot5;
+		i2c30 = &i2c_slot6;
+		i2c31 = &i2c_slot7;
+		i2c32 = &i2c_power_0;
+		i2c33 = &i2c_power_1;
+		i2c34 = &i2c_power_2;
+		i2c35 = &i2c_power_3;
+		i2c36 = &i2c_isl_0;
+		i2c37 = &i2c_isl_1;
+		i2c38 = &i2c_isl_2;
+		i2c39 = &i2c_isl_3;
+		i2c40 = &i2c_isl_4;
+		i2c41 = &i2c_isl_5;
+		i2c42 = &i2c_isl_6;
+		i2c43 = &i2c_isl_7;
+		i2c44 = &i2c_hostswap;
+		i2c45 = &i2c_tmp;
+		i2c46 = &i2c_fan_controller_1;
+		i2c47 = &i2c_fan_controller_2;
+		i2c48 = &i2c_seq;
+		i2c49 = &i2c_fru_1;
+		i2c50 = &i2c_fru_2;
+		i2c51 = &i2c_i2cool_1;
+		i2c52 = &i2c_i2cool_2;
+		i2c53 = &i2c_i2cool_3;
+		i2c54 = &i2c_i2cool_4;
+		i2c55 = &i2c_cpu_pirom;
+		fiu0 = &fiu0;
+		fiu1 = &fiu3;
+	};
+
+	chosen {

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 87

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+		stdout-path = &serial3;
+	};
+
+	memory {
+		reg = <0 0x40000000>;
+	};
+
+	gpio-keys {
+		compatible = "gpio-keys";
+		sas-cable0 {

Does not look like you tested the DTS against bindings. Please run make dtbs_check (see Documentation/devicetree/bindings/writing-schema.rst for instructions).

Quoted 28 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +28 -0
+			label = "sas-cable0";
+			gpios = <&gpio6 19 GPIO_ACTIVE_LOW>;
+			linux,code = <211>;
+		};
+
+		sas-cable1 {
+			label = "sas-cable1";
+			gpios = <&gpio6 20 GPIO_ACTIVE_LOW>;
+			linux,code = <212>;
+		};
+
+		power-failure {
+			label = "power-failure";
+			gpios = <&gpio6 21 GPIO_ACTIVE_LOW>;
+			linux,code = <213>;
+		};
+	};
+
+	iio-hwmon {
+		compatible = "iio-hwmon";
+		io-channels = <&adc 1>, <&adc 2>, <&adc 3>,
+			<&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
+	};
+
+	iio-hwmon-battery {
+		compatible = "iio-hwmon";
+		io-channels = <&adc 0>;
+	};

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 125

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+
+	leds {
+		compatible = "gpio-leds";
+
+		led-bmc-live {
+			gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+
+		LED_SYS_ERROR {

Does not look like you tested the DTS against bindings. Please run make dtbs_check (see Documentation/devicetree/bindings/writing-schema.rst for instructions).

Only lowercase, no underscores in node names.

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 127

Quoted 2 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +2 -0
+			gpios = <&gpio5 12 GPIO_ACTIVE_HIGH>;
+			default-state = "off";

Missing properties like color and function (or label).

Quoted 17 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +17 -0
+		};
+
+		LED_BMC_FAULT {
+			gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
+			default-state = "off";
+		};
+
+		LED_SYS_ATTN {
+			gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
+			default-state = "off";
+		};
+
+		LED_SYS_STATE {
+			gpios = <&gpio6 29 GPIO_ACTIVE_HIGH>;
+			default-state = "off";
+		};
+	};

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 154

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+
+	seven-seg-disp {
+		compatible = "seven-seg-gpio-dev";
+		refresh-interval-ms = /bits/ 16 <600>;
+		clock-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
+		data-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
+		clear-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
+	};
+
+	pcie-slot {

What's this? Which bindings do you implement?

Quoted 100 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +99 -0
+		pcie0: pcie-slot@0 {
+			label = "PE0";
+		};
+
+		pcie1: pcie-slot@1 {
+			label = "PE1";
+		};
+
+		pcie2: pcie-slot@2 {
+			label = "PE2";
+		};
+
+		pcie3: pcie-slot@3 {
+			label = "PE3";
+		};
+
+		pcie4: pcie-slot@4 {
+			label = "PE4";
+		};
+
+		pcie5: pcie-slot@5 {
+			label = "PE5";
+		};
+
+		pcie6: pcie-slot@6 {
+			label = "PE6";
+		};
+
+		pcie7: pcie-slot@7 {
+			label = "PE7";
+		};
+	};
+};
+
 
+&gcr {
+	serial_port_mux: mux-controller {
+		compatible = "mmio-mux";
+		#mux-control-cells = <1>;
+		mux-reg-masks = <0x38 0x07>;
+		idle-states = <2>; /* Serial port mode 3 (takeover) */
+	};
+};
+
+&gmac0 {
+	phy-mode = "rgmii-id";
+	snps,eee-force-disable;
+	status = "okay";
+};
+
+&emc0 {
+	status = "okay";
+	fixed-link {
+		speed = <100>;
+		full-duplex;
+	};
+};
+
+&mc {
+	status = "okay";
+};
+
+&ehci1 {
+	status = "okay";
+};
+
+&ohci1 {
+	status = "okay";
+};
+
+&aes {
+	status = "okay";
+};
+
+&sha {
+	status = "okay";
+};
+
+&udc5 {
+	status = "okay";
+};
+
+&udc6 {
+	status = "okay";
+};
+
+&udc7 {
+	status = "okay";
+};
+
+&udc8 {
+	status = "okay";
+};
+
+&udc9 {
+	status = "okay";
+};
+
+&pcimbox {
+	status = "okay";

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 263

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+};
+
+&fiu0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&spi0cs1_pins>;
+	status = "okay";
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		#address-cells = <1>;
+		#size-cells = <1>;

Are you sure you tested the DTS with dtbs_check?

Quoted 46 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +46 -0
+		reg = <0>;
+		spi-max-frequency = <19000000>;
+		spi-rx-bus-width = <2>;
+		label = "bmc";
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			u-boot@0 {
+				label = "u-boot";
+				reg = <0x0000000 0xf0000>;
+			};
+			image-descriptor@f0000 {
+				label = "image-descriptor";
+				reg = <0xf0000 0x10000>;
+			};
+			hoth-update@100000 {
+				label = "hoth-update";
+				reg = <0x100000 0x100000>;
+			};
+			kernel@200000 {
+				label = "kernel";
+				reg = <0x200000 0x500000>;
+			};
+			rofs@700000 {
+				label = "rofs";
+				reg = <0x700000 0x35f0000>;
+			};
+			rwfs@3cf0000 {
+				label = "rwfs";
+				reg = <0x3cf0000 0x300000>;
+			};
+			hoth-mailbox@3ff0000 {
+				label = "hoth-mailbox";
+				reg = <0x3ff0000 0x10000>;
+			};
+		};
+	};
+};
+
+&fiu3 {
+	pinctrl-0 = <&spi3_pins>, <&spi3cs1_pins>;
+	status = "okay";
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		#address-cells = <1>;

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 319

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+		#size-cells = <1>;
+		reg = <0>;
+		spi-max-frequency = <20000000>;
+		spi-rx-bus-width = <2>;
+		label="bios";
+	};
+	flash@1 {
+		compatible = "jedec,spi-nor";
+		#address-cells = <1>;
+		#size-cells = <1>;

Same problem.

Quoted 69 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +69 -0
+		reg = <1>;
+		spi-max-frequency = <20000000>;
+		spi-rx-bus-width = <2>;
+		label = "bios-secondary";
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			bios-secondary-zero@0 {
+				label = "bios-secondary-0";
+				reg = <0x0000000 0x4000000>;
+			};
+			bios-secondary-one@4000000 {
+				label = "bios-secondary-1";
+				reg = <0x4000000 0x4000000>;
+			};
+		};
+	};
+};
+
+&watchdog1 {
+	status = "okay";
+};
+
+&rng {
+	status = "okay";
+};
+
+&serial0 {
+	status = "okay";
+};
+
+&serial1 {
+	status = "okay";
+};
+
+&serial2 {
+	status = "okay";
+};
+
+&serial3 {
+	status = "okay";
+};
+
+&adc {
+	#io-channel-cells = <1>;
+	status = "okay";
+};
+
+&otp {
+	status = "okay";
+};
+
+&lpc_kcs {
+	kcs1: kcs1@0 {
+		status = "okay";
+	};
+
+	kcs2: kcs2@0 {
+		status = "okay";
+	};
+
+	kcs3: kcs3@0 {
+		status = "okay";
+	};
+};
+
+&lpc_host {
+	lpc_bpc: lpc_bpc@40 {

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 398

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+		monitor-ports = <0x80>;
+		status = "okay";
+	};
+};
+
+&i2c0 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <400000>;
+	status = "disabled";

Why?

Quoted 282 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +282 -0
+	i2c-switch@73 {
+		compatible = "nxp,pca9546";
+		reg = <0x73>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		i2c-mux-idle-disconnect;
+		reset-gpios = <&pca9538 0 GPIO_ACTIVE_LOW>;
+
+		i2c_cpu0_dimmA: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+		};
+
+		i2c_cpu0_dimmE: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+		};
+		i2c_cpu1_dimmA: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+		};
+
+		i2c_cpu1_dimmE: i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+		};
+	};
+};
+
+&i2c1 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <400000>;
+	status = "okay";
+	i2c-switch@74 {
+		compatible = "nxp,pca9546";
+		reg = <0x74>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		i2c-mux-idle-disconnect;
+		reset-gpios = <&pca9538 1 GPIO_ACTIVE_LOW>;
+
+		i2c_clock_gen_0: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+		};
+
+		i2c_clock_gen_1: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+		};
+		i2c_clock_gen_2: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+		};
+
+		i2c_clock_gen_3: i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+		};
+	};
+
+	i2c-switch@75 {
+		compatible = "nxp,pca9548";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x75>;
+		i2c-mux-idle-disconnect;
+		reset-gpios = <&pca9538 4 GPIO_ACTIVE_LOW>;
+
+		i2c_slot0: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+			pcie-slot = &pcie0;
+		};
+
+		i2c_slot1: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+			pcie-slot = &pcie1;
+		};
+
+		i2c_slot2: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+			pcie-slot = &pcie2;
+			lm90@4a {
+				compatible = "national,lm90";
+				reg = <0x4a>;
+			};
+		};
+
+		i2c_slot3: i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+			pcie-slot = &pcie3;
+		};
+
+		i2c_slot4: i2c@4 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <4>;
+			pcie-slot = &pcie4;
+		};
+
+		i2c_slot5: i2c@5 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <5>;
+			pcie-slot = &pcie5;
+		};
+
+		i2c_slot6: i2c@6 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <6>;
+			pcie-slot = &pcie6;
+		};
+
+		i2c_slot7: i2c@7 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <7>;
+			pcie-slot = &pcie7;
+		};
+	};
+};
+
+&i2c2 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <400000>;
+	status = "okay";
+
+	i2c-switch@75 {
+		compatible = "nxp,pca9546";
+		reg = <0x75>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		i2c-mux-idle-disconnect;
+		reset-gpios = <&pca9538 2 GPIO_ACTIVE_LOW>;
+
+		i2c_power_0: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+			zl8802@5b {
+				compatible = "isil,zl8802";
+				reg = <0x5b>;
+			};
+		};
+
+		i2c_power_1: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+			max16600@60 {
+				compatible = "max16600";
+				reg = <0x60>;
+			};
+		};
+
+		i2c_power_2: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+			max16600@60 {
+				compatible = "max16600";
+				reg = <0x60>;
+			};
+		};
+
+		i2c_power_3: i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+			stb_12v@68 {
+				compatible = "pm6764tr";
+				reg = <0x68>;
+			};
+		};
+	};
+
+	i2c-switch@77 {
+		compatible = "nxp,pca9548";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x77>;
+		i2c-mux-idle-disconnect;
+		reset-gpios = <&pca9538 5 GPIO_ACTIVE_LOW>;
+
+		i2c_isl_0: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+			vrm@46 {
+				compatible = "isil,isl69222";
+				reg = <0x46>;
+			};
+		};
+
+		i2c_isl_1: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+			vrm@46 {
+				compatible = "isil,isl69222";
+				reg = <0x46>;
+			};
+		};
+
+		i2c_isl_2: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+			vrm@46 {
+				compatible = "isil,isl69222";
+				reg = <0x46>;
+			};
+		};
+
+		i2c_isl_3: i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+			vrm@46 {
+				compatible = "isil,isl69222";
+				reg = <0x46>;
+			};
+		};
+
+		i2c_isl_4: i2c@4 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <4>;
+			vrm@46 {
+				compatible = "isil,isl69228";
+				reg = <0x46>;
+			};
+		};
+
+		i2c_isl_5: i2c@5 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <5>;
+			vrm@46 {
+				compatible = "isil,isl69228";
+				reg = <0x46>;
+			};
+		};
+
+		i2c_isl_6: i2c@6 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <6>;
+			vrm@46 {
+				compatible = "isil,isl69228";
+				reg = <0x46>;
+			};
+		};
+
+		i2c_isl_7: i2c@7 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <7>;
+			vrm@46 {
+				compatible = "isil,isl69228";
+				reg = <0x46>;
+			};
+		};

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 690

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+	};
+};
+
+&i2c3 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <400000>;
+	status = "okay";
+
+	pca9538: pca9538@72 {

Node names should be generic.
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 696

Quoted 6 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +6 -0
+		compatible = "nxp,pca9538";
+		reg = <0x72>;
+		gpio-controller;
+		#gpio-cells = <2>;
+
+		U3009_P0 {

No underscores in node names, only lowercase characters.

Quoted 145 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +145 -0
+			gpio-hog;
+			gpios = <0 0>;
+			output-low;
+			line-name = "RST_SMB_MUX_TCA9545_N";
+		};
+	};
+
+	i2c-switch@75 {
+		compatible = "nxp,pca9546";
+		reg = <0x75>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		i2c-mux-idle-disconnect;
+		reset-gpios = <&pca9538 3 GPIO_ACTIVE_LOW>;
+
+		i2c_hostswap: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+
+			adm1272@1f {
+				compatible = "adi,adm1272";
+				reg = <0x1f>;
+				shunt-resistor-micro-ohms = <330>;
+			};
+		};
+		i2c_tmp: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+		};
+		i2c_fan_controller_1: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+			fan_controller@2c {
+				compatible = "maxim,max31790";
+				reg = <0x2c>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+			};
+		};
+
+		i2c_fan_controller_2: i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+			fan_controller@2c {
+				compatible = "maxim,max31790";
+				reg = <0x2c>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+			};
+		};
+	};
+
+	i2c-switch@77 {
+		compatible = "nxp,pca9548";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x77>;
+		i2c-mux-idle-disconnect;
+		reset-gpios = <&pca9538 6 GPIO_ACTIVE_LOW>;
+
+		i2c_seq: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+			Sequencer@59 {
+				compatible = "maxim,max34451";
+				reg = <0x59>;
+			};
+		};
+
+		i2c_fru_1: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+			mobo_fru@55 {
+				compatible = "atmel,24c64";
+				reg = <0x55>;
+			};
+		};
+
+		i2c_fru_2: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+			eeprom@50 {
+				compatible = "atmel,24c2048";
+				reg = <0x50>;
+			};
+		};
+
+		i2c_i2cool_1: i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+			lm75@5c {
+				compatible = "maxim,max31725";
+				reg = <0x5c>;
+				status = "okay";
+			};
+		};
+
+		i2c_i2cool_2: i2c@4 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <4>;
+			lm75@5c {
+				compatible = "maxim,max31725";
+				reg = <0x5c>;
+				status = "okay";
+			};
+		};
+
+		i2c_i2cool_3: i2c@5 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <5>;
+			lm75@5c {
+				compatible = "maxim,max31725";
+				reg = <0x5c>;
+				status = "okay";
+			};
+		};
+
+		i2c_i2cool_4: i2c@6 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <6>;
+			lm75@5c {
+				compatible = "maxim,max31725";
+				reg = <0x5c>;
+				status = "okay";
+			};
+		};
+
+		i2c_cpu_pirom: i2c@7 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <7>;
+		};
+	};
+};

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 851

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+
+&i2c4 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <400000>;
+	status = "okay";
+	slave_mqueue: i2c-slave-mqueue@40000010 {
+		compatible = "i2c-slave-mqueue";
+		reg = <0x40000010>;
+		status = "okay";

Why do you need status here?

Quoted 13 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +13 -0
+	};
+};
+
+&i2c8 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c11 {
+	#address-cells = <1>;
+	#size-cells = <0>;

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 874

Quoted 10 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +10 -0
+	clock-frequency = <100000>;
+	status = "okay";
+};
+
+&i2c14 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <100000>;
+	status = "okay";
+	Sequencer@59 {

No underscores in node names, only lowercase characters.

arch/arm/boot/dts/nuvoton-npcm730-gis.dts line 879

Quoted 5 lines
arch/arm/boot/dts/nuvoton-npcm730-gis.dts new file +5 -0
+		compatible = "maxim,max34451";
+		reg = <0x59>;
+	};
+
+	bmc_fru@55 {

Ehh... this is poor.. I'll stop review.

Best regards,
Krzysztof

#11 lore raw
In reply to David Wang
Thank you for the patch! Yet something to improve:

Hi David,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on soc/for-next arm/for-next arm/fixes arm64/for-next/core clk/clk-next kvmarm/next rockchip/for-next shawnguo/for-next xilinx-xlnx/master linus/master v6.2 next-20230303] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/David-Wang/ARM-dts-nuvoton-Add-Quanta-GSZ-BMC-Device-Tree/20230303-143845
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20230303063435.803097-1-davidwang%40quantatw.com
patch subject: [PATCH 1/7] ARM: dts: nuvoton: Add Quanta GIS BMC Device Tree
config: arm-randconfig-r046-20230302 (https://download.01.org/0day-ci/archive/20230304/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/35df7d319f11bec38f67ec9b341d8b9c4d51c028
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review David-Wang/ARM-dts-nuvoton-Add-Quanta-GSZ-BMC-Device-Tree/20230303-143845 git checkout 35df7d319f11bec38f67ec9b341d8b9c4d51c028
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:204.1-6 Label or path emc0 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:212.1-4 Label or path mc not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:220.1-7 Label or path ohci1 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:224.1-5 Label or path aes not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:228.1-5 Label or path sha not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:232.1-6 Label or path udc5 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:236.1-6 Label or path udc6 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:240.1-6 Label or path udc7 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:244.1-6 Label or path udc8 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:248.1-6 Label or path udc9 not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:252.1-9 Label or path pcimbox not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:369.1-5 Label or path otp not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:387.1-10 Label or path lpc_host not found
>> Error: arch/arm/boot/dts/nuvoton-npcm730-gis.dts:1059.1-7 Label or path peci0 not found
>> FATAL ERROR: Syntax error parsing input tree
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
maintainer
#12 lore raw
In reply to David Wang
Quoted 11 lines · David Wang

Add the device tree for the Quanta GIS BMC and it's based on NPCM730 SoC

---
 arch/arm/boot/dts/Makefile                    |    1 +
 .../boot/dts/nuvoton-npcm730-gis-pincfg.dtsi  |  732 +++++++++++
 arch/arm/boot/dts/nuvoton-npcm730-gis.dts     | 1076 +++++++++++++++++
 3 files changed, 1809 insertions(+)
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gis-pincfg.dtsi
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-gis.dts

Hi David,

I have not looked at the patch series in detail and assume it's largely ok, but I should clarify a few issues about the submission:

You have sent this 'To:' the SoC and DT maintainers, but we are not the ones that would pick up the patches. On a future submission, please address the npcm maintainers in the 'To' field to clarify that they are the ones to review and accept the patches. Please leave out the [email protected] address entirely from future submissions, as we only use that when the platform maintainers send the pull request for integration into the soc tree, not for getting things into the platform specific trees.

There are a few automated replies from the build bot, you should address those and resend the series.

Arnd