Changeset 3207


Ignore:
Timestamp:
Aug 20, 2012, 11:55:40 PM (3 years ago)
Author:
wmb
Message:

OLPC ARM - sorted out confusion about which of the two RTC nodes (internal vs. external) gets which device tree properties.

Location:
cpu/arm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/mmp2/rtc.fth

    r2808 r3207  
    11\ See license at end of file
    22purpose: Driver for MMP2 internal RTC
     3
     40 0  " d4010000"  " /" begin-package
     5   " rtc" name
     6   " mrvl,mmp-rtc" +compatible
     7   my-address my-space  h# 1000 reg
     8
     9   d# 1 encode-int  0 encode-int encode+ " interrupts" property
     10   " /interrupt-controller/interrupt-controller@154" encode-phandle " interrupt-parent" property
     11
     12   " rtc 1Hz" encode-string " rtc alarm" encode-string  encode+ " interrupt-names" property
     13         
     14   " /apbc" encode-phandle 0 encode-int encode+ " clocks" property
     15end-package
    316
    417\ Interrupt 5 combines two interrupt inputs, RTC INT (bit 1) and RTC ALARM (bit 0)
  • cpu/arm/mmp2/twsi.fth

    r3191 r3207  
    196196
    197197
    198 0 0  " 1a" " /i2c@d4011000" begin-package  \ TWSI1
    199    " audio-codec" name
    200    " realtek,alc5631" +compatible
    201    " realtek,rt5631" +compatible
    202    my-address my-space 1 reg
    203 end-package
    204 
    205198[ifdef] soon-olpc-cl2  \ this breaks cl4-a1 boards, which ofw calls cl2.
    2061990 0  " 30" " /i2c@d4033000" begin-package  \ TWSI4
     
    224217   " accelerometer" name
    225218   " lis3lv02d" +compatible
    226    my-address my-space 1 reg
    227 end-package
    228 
    229 0 0  " 68" " /i2c@d4031000" begin-package  \ TWSI2
    230    " rtc" name
    231    " idt,idt1338-rtc" +compatible
    232219   my-address my-space 1 reg
    233220end-package
  • cpu/arm/olpc/rtc.fth

    r3199 r3207  
    1 purpose: Driver for MMP internal RTC block
     1purpose: Driver for external IDT1388 RTC chip on XO-1.75
    22
    3 0 0  " d4010000"  " /" begin-package
     30 0  " 68" " /i2c@d4031000" begin-package  \ TWSI2
    44   " rtc" name
    5    " mrvl,mmp-rtc" +compatible
    6    my-address my-space  h# 1000 reg
    7 
    8    d# 1 encode-int  0 encode-int encode+ " interrupts" property
    9    " /interrupt-controller/interrupt-controller@154" encode-phandle " interrupt-parent" property
    10 
    11    " rtc 1Hz" encode-string " rtc alarm" encode-string  encode+ " interrupt-names" property
    12 
    13          
    14    " /apbc" encode-phandle 0 encode-int encode+ " clocks" property
     5   " idt,idt1338-rtc" +compatible
     6   my-address my-space 1 reg
    157
    168[ifdef] cl2-a1
     
    2719: rtc!  ( byte reg# -- )  set-address  twsi-b!  ;
    2820[then]
    29 
    30 headerless
    3121
    3222headerless
Note: See TracChangeset for help on using the changeset viewer.