Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

How to add I2C device in device tree file?

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 9/2/2016 09:38:14      1#
Hi whacla
    the nodes defined here because there were some devices connect to I2C0,
If you don't need it ,just remove them .
     And,  you can add your device like this:
   
    devices@60 {
                compatible = "devices,name";
                reg = <0x60>;
        };
   
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list