aliases can0 = &flexcan1; can1 = &flexcan2; ethernet0 = &fec1; ethernet1 = &fec2; gpio0 = &gpio1; gpio1 = &gpio2; gpio2 = &gpio3; gpio3
This code is a part of device tree source code for a specific board, likely for an embedded system. The aliases section defines convenient names for hardware resources, such as CAN controllers and Ethernet ports, to be used in other parts of the device tree. The rest of the code defines a GPIO controller with two interrupt lines, using the fsl,imx6ul-gpio and fsl,imx35-gpio compatible strings. The reg property specifies the memory-mapped address range for the GPIO controller. The #gpio-cells and #interrupt-cells properties indicate that two cells are used to describe each pin and interrupt, respectively
原文地址: https://www.cveoy.top/t/topic/e9H3 著作权归作者所有。请勿转载和采集!