Nuvoton device tree updates for 6.2
- Update fix-partition syntax - WPCM450 updates for SPI controller, clock, watchdog, serial - GPIO line names for Supermicro X9SCI-LN4F BMC -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE+nHMAt9PCBDH63wBa3ZZB4FHcJ4FAmN9hKwACgkQa3ZZB4FH cJ5TVxAAhoMhWF5wTgnv2ZNZZdC3gA6+mFkEX/ZeBpAEmFYUFdj57QXPOVKeMx5a 27DFqP3kK0S9dX/+qbw6hmSngOXtpXvmW9yL0/DgR1+g4DwUc5+Q1b3ZP6WKVLOk y9xw3Muawv5h8QpQO6yWfgIOTYeN74Iyk3cmEIOmjJpIs/Cmobmina7rTDhiG2i2 qHhBJDwdnoU+Ei5rr1XOklPLTbCwTsp6yZA3Ep98O9rZeeUTzGsCMOne/qhN6fRW rhnKHAgMe/ms+GGe6DsHIBZF4kZr7FBuuj4rpxlfLOk8XZOFaSzz6Qs6inrN5kUK w3Fot/VKObeSvOvbElx+pSd2gxap359N/RWaTDWHlVFVAeN+z3/ewQx/eJy8lI4P SfoMyJE8A5sIPhpHyVuwUrnLxyQe8QB/Uz5f13vRNvDSqwRmX6Z1eV8ZXtIc4Bnq pIoTy//05pUWMwCYs3bypKcRtL0Qmwmdwmv97o+d8aRwukOsJ7nvw5XYLRW6kGYy cajynQlqvnvkPHuQKYt2U5dnvMO3/Lne5GK7+unyEkU9vbQUFu7de0JkHV4ON54J lUtLsBzdDDX3o45+BIsXJ9UfCmr3T2Q0Ifg4VqUvWiOX0BvWfn5R8EdBmaL8OGSD VsToy40OyUID79UIp2ttyOfpJ7DbEDDtrVCyX3jgvYJ1UraavGo= =y6po -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmN+BqwACgkQmmx57+YA GNkNpBAAlvHX350ZCvB7FGwmMPB2EB6e+S2BovUZiDg+OU+P37Ev7aCEnVgme9pD CK9h/w0shfuUGHleenfBo4EPcvp+gqP14yPQLPe/BWdoR7FHb58V96nNZ5nec0Ue LEdtK3OSJIvNNuFjODfjtA9fXcJi6FIg+YTeb6pY8DPChlvYg2OWtwvOvCcpH2LT aMpMY9MC1/2sDH6kMAmk+TW0m4np/+iuN3s5jkYgGxKorGz/pKQRVcJH238sZqoG f+9omJK9ycGWtSMRUK13W8fIx+FxO/quCRcd7+B17Ps2RS/bl0PiFBb1VcO8j/DU U9Nnyub7j0+MTeSp0rp9bLadVgeomB/Hpltt/1pMr2+a2nPvF0bppQ0WeT71nTET phQt9lPrLkDUPJ9vl0phOiYnPucvw+29a2PbfF2Yf+J/OHp+9jpWcxoUQPUv3bUk ykbXhMboHZyGHiGSlE431YyZ6XGEi+SIEPNpgVsz4XpZeidKRfQSZYCL4btpskDE gqz/BcXQ3WrQ6lB1w2Cq7MmEzCFouJHpkAnA1zIYkYh7wznl4I6s0VblXstZXdWK Wb7Z4oU5P/8IfwvZv6wyxhRMeUTLvfHtyzSp1vrGEjTYFT8fzNBlUtPRUmQU3kf0 E2efsOuwFgqTb7AIyO3+frw06us3EIulmoxfT/LPYRKWbWCOr5g= =aK+J -----END PGP SIGNATURE----- Merge tag 'nuvoton-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into soc/dt Nuvoton device tree updates for 6.2 - Update fix-partition syntax - WPCM450 updates for SPI controller, clock, watchdog, serial - GPIO line names for Supermicro X9SCI-LN4F BMC * tag 'nuvoton-6.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc: ARM: dts: nuvoton: wpcm450: Add missing aliases for serial0/serial1 ARM: dts: wpcm450: Enable watchdog by default ARM: dts: wpcm450: Add clock controller node ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add SPI flash ARM: dts: wpcm450: Add FIU SPI controller node ARM: dts: nuvoton: Remove bogus unit addresses from fixed-partition nodes ARM: dts: nuvoton,wpcm450-supermicro-x9sci-ln4f: Add GPIO line names Link: https://lore.kernel.org/r/CACPK8XffL5_L5D_ZGQid0r4h0wfTc+XBGUO1-0QW7ErPPrrvEQ@mail.gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
62cc4a55fd
|
@ -366,7 +366,7 @@
|
||||||
spi-max-frequency = <20000000>;
|
spi-max-frequency = <20000000>;
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
label = "bmc";
|
label = "bmc";
|
||||||
partitions@80000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -142,7 +142,7 @@
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
|
|
||||||
partitions@80000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -388,7 +388,7 @@
|
||||||
spi-max-frequency = <5000000>;
|
spi-max-frequency = <5000000>;
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
label = "bmc";
|
label = "bmc";
|
||||||
partitions@80000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
@ -422,7 +422,7 @@
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
spi-max-frequency = <5000000>;
|
spi-max-frequency = <5000000>;
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
partitions@88000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
@ -447,7 +447,7 @@
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <5000000>;
|
spi-max-frequency = <5000000>;
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
partitions@A0000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <5000000>;
|
spi-max-frequency = <5000000>;
|
||||||
partitions@80000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <5000000>;
|
spi-max-frequency = <5000000>;
|
||||||
partitions@A0000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -107,7 +107,7 @@
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
|
|
||||||
partitions@80000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
npcm,fiu-rx-bus-width = <2>;
|
npcm,fiu-rx-bus-width = <2>;
|
||||||
|
|
||||||
partitions@88000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-rx-bus-width = <2>;
|
spi-rx-bus-width = <2>;
|
||||||
|
|
||||||
partitions@A0000000 {
|
partitions {
|
||||||
compatible = "fixed-partitions";
|
compatible = "fixed-partitions";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
|
@ -15,6 +15,11 @@
|
||||||
model = "Supermicro X9SCi-LN4F BMC";
|
model = "Supermicro X9SCi-LN4F BMC";
|
||||||
compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450";
|
compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450";
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
serial0 = &serial0;
|
||||||
|
serial1 = &serial1;
|
||||||
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
stdout-path = "serial0:115200n8";
|
stdout-path = "serial0:115200n8";
|
||||||
};
|
};
|
||||||
|
@ -53,6 +58,33 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&fiu {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
flash@0 {
|
||||||
|
reg = <0>;
|
||||||
|
compatible = "jedec,spi-nor";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&gpio0 {
|
||||||
|
gpio-line-names =
|
||||||
|
/* 0 */ "", "host-reset-control-n", "", "", "", "", "", "",
|
||||||
|
/* 8 */ "", "", "", "", "power-chassis-control-n", "", "uid-button", "";
|
||||||
|
};
|
||||||
|
|
||||||
|
&gpio1 {
|
||||||
|
gpio-line-names =
|
||||||
|
/* 0 */ "", "", "", "", "led-heartbeat", "", "", "led-uid",
|
||||||
|
/* 8 */ "", "", "", "", "", "", "", "";
|
||||||
|
};
|
||||||
|
|
||||||
|
&gpio4 {
|
||||||
|
gpio-line-names =
|
||||||
|
/* 0 */ "", "", "", "", "", "", "", "",
|
||||||
|
/* 8 */ "", "", "", "", "", "", "", "power-chassis-good";
|
||||||
|
};
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
key_pins: mux-keys {
|
key_pins: mux-keys {
|
||||||
groups = "gspi", "sspi";
|
groups = "gspi", "sspi";
|
||||||
|
@ -77,7 +109,3 @@
|
||||||
/* "Serial over LAN" port. Connected to ttyS2 of the host system. */
|
/* "Serial over LAN" port. Connected to ttyS2 of the host system. */
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&watchdog0 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
|
@ -37,6 +37,14 @@
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
refclk: clock-48mhz {
|
||||||
|
/* 48 MHz reference oscillator */
|
||||||
|
compatible = "fixed-clock";
|
||||||
|
clock-output-names = "ref";
|
||||||
|
clock-frequency = <48000000>;
|
||||||
|
#clock-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
soc {
|
soc {
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -49,6 +57,15 @@
|
||||||
reg = <0xb0000000 0x200>;
|
reg = <0xb0000000 0x200>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clk: clock-controller@b0000200 {
|
||||||
|
compatible = "nuvoton,wpcm450-clk";
|
||||||
|
reg = <0xb0000200 0x100>;
|
||||||
|
clocks = <&refclk>;
|
||||||
|
clock-names = "ref";
|
||||||
|
#clock-cells = <1>;
|
||||||
|
#reset-cells = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
serial0: serial@b8000000 {
|
serial0: serial@b8000000 {
|
||||||
compatible = "nuvoton,wpcm450-uart";
|
compatible = "nuvoton,wpcm450-uart";
|
||||||
reg = <0xb8000000 0x20>;
|
reg = <0xb8000000 0x20>;
|
||||||
|
@ -81,7 +98,6 @@
|
||||||
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
reg = <0xb800101c 0x4>;
|
reg = <0xb800101c 0x4>;
|
||||||
clocks = <&clk24m>;
|
clocks = <&clk24m>;
|
||||||
status = "disabled";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
aic: interrupt-controller@b8002000 {
|
aic: interrupt-controller@b8002000 {
|
||||||
|
@ -456,5 +472,21 @@
|
||||||
function = "hg7";
|
function = "hg7";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fiu: spi-controller@c8000000 {
|
||||||
|
compatible = "nuvoton,wpcm450-fiu";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>;
|
||||||
|
reg-names = "control", "memory";
|
||||||
|
clocks = <&clk 0>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
shm: syscon@c8001000 {
|
||||||
|
compatible = "nuvoton,wpcm450-shm", "syscon";
|
||||||
|
reg = <0xc8001000 0x1000>;
|
||||||
|
reg-io-width = <1>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue