Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phandle linux,phandle #20

Open
ShellAlbert opened this issue Dec 10, 2019 · 2 comments
Open

phandle linux,phandle #20

ShellAlbert opened this issue Dec 10, 2019 · 2 comments

Comments

@ShellAlbert
Copy link
Owner

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

@ShellAlbert
Copy link
Owner Author

phandle

@ShellAlbert
Copy link
Owner Author

phandle

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

No branches or pull requests

1 participant