Skip to content

Conversation

@ChinYikMing
Copy link
Collaborator

The DTC of version 1.6.1 generates the following warnings:

  1. (unit_address_vs_reg) /soc: node has a reg or ranges property, but no unit name
  2. (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider

To suppress them, add unit-name with parent-bus-address to the SOC node and #address-cells to the CPU interrupt controller.

The DTC of version 1.6.1 generates the following warnings:
1. (unit_address_vs_reg) /soc:
node has a reg or ranges property, but no unit name
2. (interrupt_provider): /cpus/cpu@0/interrupt-controller:
Missing #address-cells in interrupt provider

To suppress them, add unit-name with parent-bus-address to the
SOC node and #address-cells to the CPU interrupt controller.
@jserv jserv merged commit e788620 into sysprog21:master Jan 14, 2024
@jserv
Copy link
Collaborator

jserv commented Jan 14, 2024

Thank @ChinYikMing for contributing!

@ChinYikMing ChinYikMing deleted the dt branch January 14, 2024 19:40
@chiangkd chiangkd mentioned this pull request Dec 12, 2024
Mes0903 added a commit to Mes0903/semu that referenced this pull request Dec 13, 2024
The DTC of version 1.6.1 generates the warning "Missing #address-cells
in interrupt provider". add `address-cells = <0>` to suppress "Missing
\#address-cells" warning provided by DTC v1.6.1

Reference: [sysprog21#37](sysprog21#37)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants