3a94fa4c | 04-Jun-2024 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
arm64: dts: microchip: sparx5_pcb135: move non-MMIO nodes out of axi
simple-bus nodes, so the "axi" node, should not have non-MMIO children as pointed out by simple-bus schema dtbs_check:
sparx5_
arm64: dts: microchip: sparx5_pcb135: move non-MMIO nodes out of axi
simple-bus nodes, so the "axi" node, should not have non-MMIO children as pointed out by simple-bus schema dtbs_check:
sparx5_pcb135_emmc.dtb: axi@600000000: sfp-eth60: {'compatible': ... should not be valid under {'type': 'object'} from schema $id: http://devicetree.org/schemas/simple-bus.yaml#
Reported-by: Rob Herring <robh@kernel.org> Closes: https://lore.kernel.org/all/CAL_Jsq+PtL3HTKkA_gwTjb_i1mFZ+wW+qwin34HMYmwW7oNDFw@mail.gmail.com/ Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
6c7c4b91 | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb135: drop duplicated NOR flash
Since beginning the DTS extended the SPI0 in two places adding two SPI muxes, each with same SPI NOR flash. Both used exactly the sam
arm64: dts: microchip: sparx5_pcb135: drop duplicated NOR flash
Since beginning the DTS extended the SPI0 in two places adding two SPI muxes, each with same SPI NOR flash. Both used exactly the same chip-selects, so this was clearly buggy code. Then in commit d0f482bb06f9 ("arm64: dts: sparx5: Add the Sparx5 switch node") one SPI mux was removed, while keeping the SPI NOR flash node.
This still leaves duplicated SPI nodes under same chip select 0, reported by dtc W=1 warnings:
sparx5_pcb135_board.dtsi:92.10-96.4: Warning (unique_unit_address_if_enabled): /axi@600000000/spi@600104000/flash@0: duplicate unit-address (also used in node /axi@600000000/spi@600104000/spi@0)
Steen Hegelund confirmed that in fact there is a SPI mux, thus remove the duplicated node without the mux.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Steen Hegelund <Steen.Hegelund@microchip.com> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
f1595d50 | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb134: drop duplicated NOR flash
Since beginning the DTS extended the SPI0 in two places adding two SPI muxes, each with same SPI NOR flash. Both used exactly the sam
arm64: dts: microchip: sparx5_pcb134: drop duplicated NOR flash
Since beginning the DTS extended the SPI0 in two places adding two SPI muxes, each with same SPI NOR flash. Both used exactly the same chip-selects, so this was clearly buggy code. Then in commit d0f482bb06f9 ("arm64: dts: sparx5: Add the Sparx5 switch node") one SPI mux was removed, while keeping the SPI NOR flash node.
This still leaves duplicated SPI nodes under same chip select 0, reported by dtc W=1 warnings:
sparx5_pcb134_board.dtsi:277.10-281.4: Warning (unique_unit_address_if_enabled): /axi@600000000/spi@600104000/flash@0: duplicate unit-address (also used in node /axi@600000000/spi@600104000/spi@0)
Steen Hegelund confirmed that in fact there is a SPI mux, thus remove the duplicated node without the mux.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Steen Hegelund <Steen.Hegelund@microchip.com> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
5945df4d | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb135: drop LED unit addresses
GPIO leds should not have unit addresses (no "reg" property), as reported by dtc W=1 warnings:
sparx5_pcb135_board.dtsi:18.9-22.5: Wa
arm64: dts: microchip: sparx5_pcb135: drop LED unit addresses
GPIO leds should not have unit addresses (no "reg" property), as reported by dtc W=1 warnings:
sparx5_pcb135_board.dtsi:18.9-22.5: Warning (unit_address_vs_reg): /leds/led@0: node has a unit name, but no reg or ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
55fb5a97 | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb134: drop LED unit addresses
GPIO leds should not have unit addresses (no "reg" property), as reported by dtc W=1 warnings:
sparx5_pcb134_board.dtsi:18.9-21.5: Wa
arm64: dts: microchip: sparx5_pcb134: drop LED unit addresses
GPIO leds should not have unit addresses (no "reg" property), as reported by dtc W=1 warnings:
sparx5_pcb134_board.dtsi:18.9-21.5: Warning (unit_address_vs_reg): /leds/led@0: node has a unit name, but no reg or ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
b0d5a3ce | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb135: align I2C mux node name with bindings
DT schema expects node names to match certain. This fixes dtbs_check warnings like:
sparx5_pcb135_emmc.dtb: i2c0-imux@
arm64: dts: microchip: sparx5_pcb135: align I2C mux node name with bindings
DT schema expects node names to match certain. This fixes dtbs_check warnings like:
sparx5_pcb135_emmc.dtb: i2c0-imux@0: $nodename:0: 'i2c0-imux@0' does not match '^(i2c-?)?mux'
and dtc W=1 warnings:
sparx5_pcb135_board.dtsi:132.25-137.4: Warning (simple_bus_reg): /axi@600000000/i2c0-imux@0: missing or empty reg/ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
d3dd7bed | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb134: align I2C mux node name with bindings
DT schema expects node names to match certain. This fixes dtbs_check warnings like:
sparx5_pcb134_emmc.dtb: i2c0-emux@
arm64: dts: microchip: sparx5_pcb134: align I2C mux node name with bindings
DT schema expects node names to match certain. This fixes dtbs_check warnings like:
sparx5_pcb134_emmc.dtb: i2c0-emux@0: $nodename:0: 'i2c0-emux@0' does not match '^(i2c-?)?mux'
and dtc W=1 warnings:
sparx5_pcb134_board.dtsi:398.25-403.4: Warning (unique_unit_address_if_enabled): /axi@600000000/i2c0-imux@0: duplicate unit-address (also used in node /axi@600000000/i2c0-emux@0)
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
5150c3df | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb135: add missing I2C mux unit addresses
The children of I2C mux should be named "i2c", according to DT schema and bindings, and they should have unit address.
This
arm64: dts: microchip: sparx5_pcb135: add missing I2C mux unit addresses
The children of I2C mux should be named "i2c", according to DT schema and bindings, and they should have unit address.
This fixes dtbs_check warnings like:
sparx5_pcb135.dtb: i2c0-imux@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c_sfp1', 'i2c_sfp2', 'i2c_sfp3', 'i2c_sfp4' were unexpected)
and dtc W=1 warnings:
sparx5_pcb135_board.dtsi:172.23-180.4: Warning (simple_bus_reg): /axi@600000000/sfp-eth60: missing or empty reg/ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
9dcf4ec5 | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5_pcb134: add missing I2C mux unit addresses
The children of I2C mux should be named "i2c", according to DT schema and bindings, and they should have unit address.
This
arm64: dts: microchip: sparx5_pcb134: add missing I2C mux unit addresses
The children of I2C mux should be named "i2c", according to DT schema and bindings, and they should have unit address.
This fixes dtbs_check warnings like:
sparx5_pcb134_emmc.dtb: i2c0-imux@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c_sfp1', ...
and dtc W=1 warnings:
sparx5_pcb134_board.dtsi:548.23-555.4: Warning (simple_bus_reg): /axi@600000000/sfp-eth12: missing or empty reg/ranges property
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
01362782 | 05-Apr-2024 |
Krzysztof Kozlowski <krzk@kernel.org> |
arm64: dts: microchip: sparx5: correct serdes unit address
Unit address should match "reg" property, as reported by dtc W=1 warnings:
sparx5.dtsi:463.27-468.5: Warning (simple_bus_reg): /axi@6000
arm64: dts: microchip: sparx5: correct serdes unit address
Unit address should match "reg" property, as reported by dtc W=1 warnings:
sparx5.dtsi:463.27-468.5: Warning (simple_bus_reg): /axi@600000000/serdes@10808000: simple-bus unit address format error, expected "610808000"
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
show more ...
|
d5e64404 | 20-Apr-2022 |
Michael Walle <michael@walle.cc> |
arm64: dts: sparx5: rename pinctrl nodes
The pinctrl device tree binding will be converted to YAML format. Rename the pin nodes so they end with "-pins" to match the schema.
Signed-off-by: Michael
arm64: dts: sparx5: rename pinctrl nodes
The pinctrl device tree binding will be converted to YAML format. Rename the pin nodes so they end with "-pins" to match the schema.
Signed-off-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20220420194600.3416282-1-michael@walle.cc Link: https://lore.kernel.org/r/20220319204628.1759635-5-michael@walle.cc Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
show more ...
|
a34ebb17 | 21-Feb-2023 |
Robert Marko <robert.marko@sartura.hr> |
arm64: dts: microchip: sparx5: correct CPU address-cells
There is no reason for CPU node #address-cells to be set at 2, so lets change them to 1 and update the reg property accordingly.
Signed-off-
arm64: dts: microchip: sparx5: correct CPU address-cells
There is no reason for CPU node #address-cells to be set at 2, so lets change them to 1 and update the reg property accordingly.
Signed-off-by: Robert Marko <robert.marko@sartura.hr> Link: https://lore.kernel.org/r/20230221105039.316819-2-robert.marko@sartura.hr Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
show more ...
|
70be8370 | 21-Feb-2023 |
Robert Marko <robert.marko@sartura.hr> |
arm64: dts: microchip: sparx5: do not use PSCI on reference boards
PSCI is not implemented on SparX-5 at all, there is no ATF and U-boot that is shipped does not implement it as well.
I have tried
arm64: dts: microchip: sparx5: do not use PSCI on reference boards
PSCI is not implemented on SparX-5 at all, there is no ATF and U-boot that is shipped does not implement it as well.
I have tried flashing the latest BSP 2022.12 U-boot which did not work. After contacting Microchip, they confirmed that there is no ATF for the SoC nor PSCI implementation which is unfortunate in 2023.
So, disable PSCI as otherwise kernel crashes as soon as it tries probing PSCI with, and the crash is only visible if earlycon is used.
Since PSCI is not implemented, switch core bringup to use spin-tables which are implemented in the vendor U-boot and actually work.
Tested on PCB134 with eMMC (VSC5640EV).
Fixes: 6694aee00a4b ("arm64: dts: sparx5: Add basic cpu support") Signed-off-by: Robert Marko <robert.marko@sartura.hr> Acked-by: Steen Hegelund <Steen.Hegelund@microchip.com> Link: https://lore.kernel.org/r/20230221105039.316819-1-robert.marko@sartura.hr Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
show more ...
|
7e1f91cb | 13-Nov-2020 |
Lars Povlsen <lars.povlsen@microchip.com> |
arm64: dts: sparx5: Add SGPIO devices
This adds SGPIO devices for the Sparx5 SoC and configures it for the applicable reference boards.
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com> Revi
arm64: dts: sparx5: Add SGPIO devices
This adds SGPIO devices for the Sparx5 SoC and configures it for the applicable reference boards.
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20201113145151.68900-4-lars.povlsen@microchip.com
show more ...
|