Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-boundary-uboot
Commits
2f7468ae
Commit
2f7468ae
authored
16 years ago
by
Sergei Poselenov
Committed by
Wolfgang Denk
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Socrates: add support for DS75 Digital Thermo Sensor on I2C bus.
Signed-off-by:
Sergei Poselenov
<
sposelenov@emcraft.com
>
parent
83e9d7a2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/configs/socrates.h
+11
-1
11 additions, 1 deletion
include/configs/socrates.h
with
11 additions
and
1 deletion
include/configs/socrates.h
+
11
−
1
View file @
2f7468ae
...
...
@@ -206,6 +206,16 @@
#define CONFIG_RTC_RX8025
/* Use Epson rx8025 rtc via i2c */
#define CFG_I2C_RTC_ADDR 0x32
/* at address 0x32 */
/* I2C temp sensor */
/* Socrates uses Maxim's DS75, which is compatible with LM75 */
#define CONFIG_DTT_LM75 1
#define CONFIG_DTT_SENSORS {4}
/* Sensor addresses */
#define CFG_DTT_MAX_TEMP 125
#define CFG_DTT_LOW_TEMP -55
#define CFG_DTT_HYSTERESIS 3
#define CFG_EEPROM_PAGE_WRITE_ENABLE
/* necessary for the LM75 chip */
#define CFG_EEPROM_PAGE_WRITE_BITS 4
/* RapidIO MMU */
#define CFG_RIO_MEM_BASE 0xc0000000
/* base address */
#define CFG_RIO_MEM_PHYS CFG_RIO_MEM_BASE
...
...
@@ -293,7 +303,7 @@
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DHCP
#
un
def CONFIG_CMD_DTT
#def
ine
CONFIG_CMD_DTT
#undef CONFIG_CMD_EEPROM
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment