Open ShellAlbert opened 4 years ago
gpf { gpio-controller;
interrupt-controller; #interrupt-cells = <0x2>; linux,phandle = <0xc>; phandle = <0xc>;
}; phandle(linux,phandle这个属性和phandle是一样的,只不过linux,phandle是old-style, 多定义一个属性是为了兼容)定义了一个句柄, 当其他的device node想要引用这个node的时候就可以使用该句柄。
gpf { gpio-controller;
gpio-cells = <0x2>;
}; phandle(linux,phandle这个属性和phandle是一样的,只不过linux,phandle是old-style, 多定义一个属性是为了兼容)定义了一个句柄, 当其他的device node想要引用这个node的时候就可以使用该句柄。