Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Implement Device Tree Editor

Featured Replies

Origin:

https://armbian.atlassian.net/projects/AR/issues/AR-235

 

Description:

Add an option to armbian-config to allow editing the device tree

 

Destination:

https://github.com/armbian/config

 

Skills required:

Bash

Testers needed. More especially, people with samsung, nexell or even marvell are expected.

The main issue for now is the way the dtb is named and located in the boot folder. I tried to infer it using the comptible property of the device tree, but I don't own all supported hardware ;).

I already tested sucessfully on several kernels (aml 4.20, rk and aw on 5.8, 5.9).

I'll merge it inside so that the people can start testing only by changing to nightly builds or if they build from sources. And one tip - when creating a DTB, redirect those warnings away from screen. Just catch if conversion returns 1 and pop out an error in config and then show content ... 

 

Thanks!

Your welcome! It's a pleasure to contribute to armbian.

 

I also tried your proposition with the reading of the device-tree folder with this command:

dtc -I fs -O dts /sys/firmware/devicetree/base -o custom.dts

But on my edge-v (kernel 5.9), pine64h-b and opi1 with kernel 5.8, it generates a segmentation fault, whereas on my gt1 ultimate running armbianTV with kernel 4.20 it works.

Compiling from https://github.com/dgibson/dtc, I'm able to generate a dts file, but using the one installed from apt I got the following output on my pine64h-b:

$ dtc -I fs /sys/firmware/devicetree/base -O dts -o custom.dts
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@480000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@1704000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@720000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@1080000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@888000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@816000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@1800000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@1608000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@1320000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /cpu-opp-table/opp@1488000000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
custom.dts: Warning (clocks_property): /wifi_pwrseq:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/phy@5100400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/phy@5100400:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/gpu@1800000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/gpu@1800000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/mmc@4022000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/mmc@4022000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi@6000000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi@6000000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi@6000000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi@6000000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi@6000000:clocks: cell 8 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi@6000000:clocks: cell 10 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/clock@7010000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/clock@7010000:clocks: cell 1 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/clock@7010000:clocks: cell 3 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/clock@7010000:clocks: cell 5 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pinctrl@300b000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pinctrl@300b000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pinctrl@300b000:clocks: cell 3 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pwm@300a000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pwm@300a000:clocks: cell 1 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/bus@1000000/mixer@100000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/bus@1000000/mixer@100000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/bus@1000000/clock@0:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/bus@1000000/clock@0:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2c@5002800:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/rtc@7000000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/phy@5210000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/lcd-controller@6515000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/lcd-controller@6515000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/spdif@5093000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/spdif@5093000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5311400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5311400:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/mmc@4021000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/mmc@4021000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5101400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5101400:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/clock@3001000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/clock@3001000:clocks: cell 1 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/clock@3001000:clocks: cell 3 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/video-codec@1c0e000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/video-codec@1c0e000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/video-codec@1c0e000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/thermal-sensor@5070400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2c@7081400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/watchdog@7020400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/iommu@30f0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2c@5002400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/spi@5011000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/spi@5011000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/serial@5000800:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5311000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5311000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5311000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2c@5002c00:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2c@5002c00/mfd@10/phy:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/serial@7080000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5101000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5101000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5101000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/tcon-top@6510000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/tcon-top@6510000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi-phy@6010000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/hdmi-phy@6010000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2c@5002000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/crypto@1904000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/crypto@1904000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/crypto@1904000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/mmc@4020000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/mmc@4020000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/mailbox@3003000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/serial@5000400:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/dma-controller@3002000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/dma-controller@3002000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/ethernet@5020000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/serial@5000c00:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/spi@5010000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/spi@5010000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pinctrl@7022000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pinctrl@7022000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/pinctrl@7022000:clocks: cell 3 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/ir@7040000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/ir@7040000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/watchdog@30090a0:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2s@5091000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/i2s@5091000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/dwc3@5200000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/dwc3@5200000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/dwc3@5200000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/usb@5100000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /soc/serial@5000000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@1:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@2:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@0:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@3:clocks: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu-thermal/cooling-maps/cpu_very_hot_limit_cpu:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu-thermal/cooling-maps/cpu_warm_limit_cpu:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu-thermal/cooling-maps/cpu_hot_limit_cpu:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu-thermal/cooling-maps/cpu_hot_pre_limit_cpu:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu-thermal/cooling-maps/cpu_very_hot_pre_limit_cpu:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /soc/spdif@5093000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /soc/spi@5011000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /soc/spi@5011000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /soc/spi@5010000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /soc/spi@5010000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /soc/i2s@5091000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /soc/i2s@5091000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (iommus_property): /soc/bus@1000000/mixer@100000:iommus: cell 0 is not a phandle reference
custom.dts: Warning (iommus_property): /soc/video-codec@1c0e000:iommus: cell 0 is not a phandle reference
custom.dts: Warning (mboxes_property): /scpi:mboxes: cell 0 is not a phandle reference
custom.dts: Warning (mboxes_property): /scpi:mboxes: cell 2 is not a phandle reference
custom.dts: Warning (phys_property): /soc/hdmi@6000000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /soc/usb@5311400:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /soc/usb@5311000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /soc/dwc3@5200000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /soc/usb@5100000:phys: cell 0 is not a phandle reference
custom.dts: Warning (pwms_property): /ac200_clk:pwms: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/phy@5100400:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/phy@5100400:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /soc/gpu@1800000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/mmc@4022000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/hdmi@6000000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/hdmi@6000000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /soc/pwm@300a000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/bus@1000000/mixer@100000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/bus@1000000/clock@0:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/i2c@5002800:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/phy@5210000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/lcd-controller@6515000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/spdif@5093000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/usb@5311400:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/mmc@4021000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/usb@5101400:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/video-codec@1c0e000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/thermal-sensor@5070400:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/i2c@7081400:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/iommu@30f0000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/i2c@5002400:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/spi@5011000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/serial@5000800:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/usb@5311000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/usb@5311000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /soc/i2c@5002c00:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/serial@7080000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/usb@5101000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/usb@5101000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /soc/tcon-top@6510000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/hdmi-phy@6010000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/i2c@5002000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/crypto@1904000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/mmc@4020000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/mailbox@3003000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/serial@5000400:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/dma-controller@3002000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/ethernet@5020000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/serial@5000c00:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/spi@5010000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/ir@7040000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/i2s@5091000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/dwc3@5200000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/usb@5100000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /soc/serial@5000000:resets: cell 0 is not a phandle reference
custom.dts: Warning (sound_dai_property): /hdmi-sound/simple-audio-card,cpu:sound-dai: cell 0 is not a phandle reference
custom.dts: Warning (sound_dai_property): /hdmi-sound/simple-audio-card,codec:sound-dai: cell 0 is not a phandle reference
custom.dts: Warning (thermal_sensors_property): /thermal-zones/cpu-thermal:thermal-sensors: cell 0 is not a phandle reference
custom.dts: Warning (thermal_sensors_property): /thermal-zones/gpu-thermal:thermal-sensors: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /wifi_pwrseq:reset-gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /soc/mmc@4020000:cd-gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /leds/heartbeat:gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /leds/status:gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /leds/link:gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /vbus:gpio: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /gmac-3v3:gpio: cell 0 is not a phandle reference
custom.dts: Warning (graph_child_address): /soc/tcon-top@6510000/ports/port@0: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary
custom.dts: Warning (graph_child_address): /soc/tcon-top@6510000/ports/port@4: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary
[1]    6806 segmentation fault  dtc -I fs /sys/firmware/devicetree/base -O dts -o custom.dts

 

5 minutes ago, jeanrhum said:

but using the one installed from apt I got the following output on my pine64h-b:


Warnings are fine but it's worth researching why ... while segfaulting is clearly not good. Try decompiling a few other DT by hand to narrow down where segfault is happening. Perhaps we will learn something.

1 hour ago, Igor said:

Try decompiling a few other DT by hand

Sorry, I don't know how to decompile by hand.

 

With a small script, I tested the packaged dtc with all the dtbs from the boot folders of my edge-v (allwinner, amlogic and rockchip) and got no segfaults. With this board, I have much more warnings when decompiling from fs:

 

Spoiler

$ dtc -I fs /sys/firmware/devicetree/base -O dts -o custom.dts
custom.dts: Warning (unit_address_vs_reg): /usb@fe900000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /usb@fe800000: node has a unit name, but no reg property
custom.dts: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
custom.dts: Warning (avoid_unnecessary_addr_size): /mipi@ff960000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
custom.dts: Warning (avoid_unnecessary_addr_size): /mipi@ff968000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
custom.dts: Warning (clocks_property): /i2c@ff150000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff150000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /pwm@ff420020:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /phy@ff7c0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /phy@ff7c0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /pwm@ff420010:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff660480:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff660480:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1d0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1d0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /i2s@ff880000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2s@ff880000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /pwm@ff420000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /pinctrl/gpio4@ff790000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /pinctrl/gpio2@ff780000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /pinctrl/gpio0@ff720000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /pinctrl/gpio1@ff730000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /pinctrl/gpio3@ff788000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_tcpc0@8:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_tcpc0@8:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_sdioaudio@28:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_edp@25:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_tcpc1@9:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_tcpc1@9:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_emmc@23:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_gmac@22:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_gmac@22:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_gpu@35:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_iep@34:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_iep@34:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vcodec@31:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vcodec@31:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_sd@27:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_sd@27:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_rga@33:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_rga@33:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vdu@32:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vdu@32:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_usb3@24:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_isp1@20:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_isp1@20:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_vo@16/pd_vopb@17:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_vo@16/pd_vopb@17:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_vo@16/pd_vopl@18:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_vo@16/pd_vopl@18:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_isp0@19:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_isp0@19:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_hdcp@21:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_hdcp@21:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /power-management@ff310000/power-controller/pd_vio@15/pd_hdcp@21:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /gpu@ff9a0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff3e0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff3e0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /pcie@f8000000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /pcie@f8000000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /pcie@f8000000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /pcie@f8000000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /rktimer@ff850000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /rktimer@ff850000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff1a0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff1a0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3a0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3a0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3a0000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /saradc@ff100000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /saradc@ff100000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3e0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3e0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3e0000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff120000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff120000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe320000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe320000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe320000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe320000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /syscon@ff770000/mipi-dphy-rx0:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /syscon@ff770000/mipi-dphy-rx0:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /syscon@ff770000/mipi-dphy-rx0:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /syscon@ff770000/pcie-phy:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /syscon@ff770000/usb2-phy@e460:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /syscon@ff770000/usb2-phy@e450:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /syscon@ff770000/phy@f780:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /efuse@ff690000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff160000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff160000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /dp@fec00000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /dp@fec00000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /dp@fec00000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /dp@fec00000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /rng@ff8b8000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /rng@ff8b8000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff670800:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff670800:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1e0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1e0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /rga@ff680000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /rga@ff680000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /rga@ff680000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /i2s@ff890000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2s@ff890000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /video-codec@ff650000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /video-codec@ff650000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff914000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff914000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff200000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff200000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff903f00:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff903f00:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff1b0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff1b0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /watchdog@ff848000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff130000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff130000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /tsadc@ff260000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /tsadc@ff260000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000:clocks: cell 8 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000:clocks: cell 10 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000/usb@fe900000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000/usb@fe900000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe900000/usb@fe900000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff180000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff180000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff180000/bluetooth:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe380000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe380000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe380000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /ethernet@fe300000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /ethernet@fe300000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /ethernet@fe300000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /ethernet@fe300000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /ethernet@fe300000:clocks: cell 8 is not a phandle reference
custom.dts: Warning (clocks_property): /ethernet@fe300000:clocks: cell 10 is not a phandle reference
custom.dts: Warning (clocks_property): /ethernet@fe300000:clocks: cell 12 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff350000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff350000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1f0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1f0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff960000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff960000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff960000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff960000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff8f3f00:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff8f3f00:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /video-codec@ff660000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /video-codec@ff660000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /video-codec@ff660000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /video-codec@ff660000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /sdio-pwrseq:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff924000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff924000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /bus/dma-controller@ff6e0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /bus/dma-controller@ff6d0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff3c0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff3c0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /hdmi@ff940000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /hdmi@ff940000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /hdmi@ff940000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /hdmi@ff940000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /hdmi@ff940000:clocks: cell 8 is not a phandle reference
custom.dts: Warning (clocks_property): /phy@ff800000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /phy@ff800000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000:clocks: cell 8 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000:clocks: cell 10 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000/usb@fe800000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000/usb@fe800000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe800000/usb@fe800000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3c0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3c0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /usb@fe3c0000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /i2s@ff8a0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2s@ff8a0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /edp@ff970000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /edp@ff970000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /edp@ff970000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /sdhci@fe330000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /sdhci@fe330000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff140000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff140000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /vop@ff900000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /vop@ff900000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /vop@ff900000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff190000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff190000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff650800:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /iommu@ff650800:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1c0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /spi@ff1c0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff968000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff968000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff968000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /mipi@ff968000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@1:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@101:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@2:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@0:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@100:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /cpus/cpu@3:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff3d0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff3d0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /vop@ff8f0000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /vop@ff8f0000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /vop@ff8f0000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff370000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /serial@ff370000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /spdif@ff870000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /spdif@ff870000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff110000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /i2c@ff110000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe310000:clocks: cell 0 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe310000:clocks: cell 2 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe310000:clocks: cell 4 is not a phandle reference
custom.dts: Warning (clocks_property): /mmc@fe310000:clocks: cell 6 is not a phandle reference
custom.dts: Warning (clocks_property): /pwm@ff420030:clocks: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/gpu/cooling-maps/map2:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/gpu/cooling-maps/map0:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/gpu/cooling-maps/map1:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map2:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map0:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map0:cooling-device: cell 3 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map3:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map1:cooling-device: cell 0 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map1:cooling-device: cell 3 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map1:cooling-device: cell 6 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map1:cooling-device: cell 9 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map1:cooling-device: cell 12 is not a phandle reference
custom.dts: Warning (cooling_device_property): /thermal-zones/cpu/cooling-maps/map1:cooling-device: cell 15 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1d0000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1d0000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /i2s@ff880000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /i2s@ff880000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1e0000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1e0000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /i2s@ff890000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /i2s@ff890000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff200000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff200000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1f0000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1f0000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /i2s@ff8a0000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /i2s@ff8a0000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1c0000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (dmas_property): /spi@ff1c0000:dmas: cell 2 is not a phandle reference
custom.dts: Warning (dmas_property): /spdif@ff870000:dmas: cell 0 is not a phandle reference
custom.dts: Warning (io_channels_property): /adc-keys:io-channels: cell 0 is not a phandle reference
custom.dts: Warning (iommus_property): /video-codec@ff650000:iommus: cell 0 is not a phandle reference
custom.dts: Warning (iommus_property): /video-codec@ff660000:iommus: cell 0 is not a phandle reference
custom.dts: Warning (iommus_property): /vop@ff900000:iommus: cell 0 is not a phandle reference
custom.dts: Warning (iommus_property): /vop@ff8f0000:iommus: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /pcie@f8000000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /pcie@f8000000:phys: cell 2 is not a phandle reference
custom.dts: Warning (phys_property): /pcie@f8000000:phys: cell 4 is not a phandle reference
custom.dts: Warning (phys_property): /pcie@f8000000:phys: cell 6 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe3a0000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe3e0000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /dp@fec00000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /dp@fec00000:phys: cell 1 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe900000/usb@fe900000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe900000/usb@fe900000:phys: cell 1 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe380000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe800000/usb@fe800000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe800000/usb@fe800000:phys: cell 1 is not a phandle reference
custom.dts: Warning (phys_property): /usb@fe3c0000:phys: cell 0 is not a phandle reference
custom.dts: Warning (phys_property): /sdhci@fe330000:phys: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /phy@ff7c0000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /iommu@ff660480:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /i2s@ff880000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /gpu@ff9a0000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /mmc@fe320000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /syscon@ff770000/mipi-dphy-rx0:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /dp@fec00000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /rga@ff680000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /i2s@ff890000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /video-codec@ff650000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /iommu@ff914000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /spi@ff200000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /iommu@ff903f00:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /usb@fe900000/usb@fe900000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /ethernet@fe300000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /mipi@ff960000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /iommu@ff8f3f00:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /video-codec@ff660000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /iommu@ff924000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /hdmi@ff940000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /phy@ff800000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /usb@fe800000/usb@fe800000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /i2s@ff8a0000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /edp@ff970000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /sdhci@fe330000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /vop@ff900000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /iommu@ff650800:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /mipi@ff968000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /vop@ff8f0000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /spdif@ff870000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (power_domains_property): /mmc@fe310000:power-domains: cell 0 is not a phandle reference
custom.dts: Warning (pwms_property): /vdd-log:pwms: cell 0 is not a phandle reference
custom.dts: Warning (pwms_property): /pwm-fan:pwms: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /phy@ff7c0000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /phy@ff7c0000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /phy@ff7c0000:resets: cell 4 is not a phandle reference
custom.dts: Warning (resets_property): /pcie@f8000000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /pcie@f8000000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /pcie@f8000000:resets: cell 4 is not a phandle reference
custom.dts: Warning (resets_property): /pcie@f8000000:resets: cell 6 is not a phandle reference
custom.dts: Warning (resets_property): /pcie@f8000000:resets: cell 8 is not a phandle reference
custom.dts: Warning (resets_property): /pcie@f8000000:resets: cell 10 is not a phandle reference
custom.dts: Warning (resets_property): /pcie@f8000000:resets: cell 12 is not a phandle reference
custom.dts: Warning (resets_property): /saradc@ff100000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /mmc@fe320000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /syscon@ff770000/pcie-phy:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /dp@fec00000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /dp@fec00000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /dp@fec00000:resets: cell 4 is not a phandle reference
custom.dts: Warning (resets_property): /dp@fec00000:resets: cell 6 is not a phandle reference
custom.dts: Warning (resets_property): /rga@ff680000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /rga@ff680000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /rga@ff680000:resets: cell 4 is not a phandle reference
custom.dts: Warning (resets_property): /tsadc@ff260000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /usb@fe900000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /ethernet@fe300000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /mipi@ff960000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /phy@ff800000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /phy@ff800000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /phy@ff800000:resets: cell 4 is not a phandle reference
custom.dts: Warning (resets_property): /usb@fe800000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /edp@ff970000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /vop@ff900000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /vop@ff900000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /vop@ff900000:resets: cell 4 is not a phandle reference
custom.dts: Warning (resets_property): /mipi@ff968000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /vop@ff8f0000:resets: cell 0 is not a phandle reference
custom.dts: Warning (resets_property): /vop@ff8f0000:resets: cell 2 is not a phandle reference
custom.dts: Warning (resets_property): /vop@ff8f0000:resets: cell 4 is not a phandle reference
custom.dts: Warning (resets_property): /mmc@fe310000:resets: cell 0 is not a phandle reference
custom.dts: Warning (sound_dai_property): /hdmi-sound/simple-audio-card,cpu:sound-dai: cell 0 is not a phandle reference
custom.dts: Warning (sound_dai_property): /hdmi-sound/simple-audio-card,codec:sound-dai: cell 0 is not a phandle reference
custom.dts: Warning (thermal_sensors_property): /thermal-zones/gpu:thermal-sensors: cell 0 is not a phandle reference
custom.dts: Warning (thermal_sensors_property): /thermal-zones/cpu:thermal-sensors: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /pcie@f8000000:ep-gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /mmc@fe320000:cd-gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /vcc5v0-host-regulator:gpio: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /leds/led-1:gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /leds/led-0:gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /gpio-keys/power:gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /serial@ff180000/bluetooth:device-wakeup-gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /serial@ff180000/bluetooth:shutdown-gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /serial@ff180000/bluetooth:host-wakeup-gpios: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /ethernet@fe300000:snps,reset-gpio: cell 0 is not a phandle reference
custom.dts: Warning (gpios_property): /sdio-pwrseq:reset-gpios: cell 0 is not a phandle reference
custom.dts: Warning (graph_child_address): /mipi@ff960000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
custom.dts: Warning (graph_child_address): /edp@ff970000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
custom.dts: Warning (graph_child_address): /mipi@ff968000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
[1]    4065 segmentation fault  dtc -I fs /sys/firmware/devicetree/base -O dts -o custom.dts

 

Hi @Igor @jeanrhum

Just seen this thread, I also tried to decompile DT on a H3 OPiPC running Armbian (21.02)

Got exactly that behavior first a bunch of warnings and then segfault, on Debian builds desktop or console.

On Ubuntu Focal it was giving the warnings too but at the end it decompiled successfully and showing the dts.

Just letting you know if you still going on with this project.

 

Christos

 

Hi Christos,

 

Thanks for reporting this issue too. What is your kernel? I suppose that you tried to decompile from fs, but have you tried to decompile from the dtb in use from /boot/dtb ?

Hi @jeanrhum

 

For my case I wanted to examine the running DT so I executed

dtc -I fs -O dts /proc/device-tree

 

which was segfault in Debian.

 

The plain decompile of a specific dtb works though eg

dtc -I dtb -O dts /boot/dtb/sun8i-h3-orangepi-pc.dtb

 

My kernel in both Debian and Ubuntu is the same 'current', 5.10.8

 

Christos

 

  • Werner locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.