Update the FDT example for the lm75 sensor to match current devicetree

standards and what the existing driver expects.

Also change 'like' to 'such as' where the text is providing an example
rather than a simile.
This commit is contained in:
Ian Lepore 2017-12-26 18:34:07 +00:00
parent 7003cfb386
commit 685f2b87ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327220

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd May 11, 2014
.Dd December 26, 2017
.Dt LM75 4
.Os
.Sh NAME
@ -122,7 +122,7 @@ clones may not work reliably.
.Pp
On a
.Xr device.hints 5
based system, like
based system, such as
.Li MIPS ,
these values are configurable for
.Nm :
@ -140,19 +140,18 @@ i2c address on the
.Pp
On a
.Xr FDT 4
based system, like
based system, such as
.Li ARM ,
the DTS part for a
.Nm
device usually looks like:
.Bd -literal
i2c {
/* Properties describing the controller appear here. */
...
lm750 {
lm750@49 {
compatible = "national,lm75";
i2c-address = <0x49>;
reg = <0x49>;
};
};
.Ed