diff options
author | Wolfgang Grandegger <wg@grandegger.com> | 2008-06-26 09:15:43 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-14 08:55:34 -0400 |
commit | a3083220c089c626a66b66af0eff4f9220d5b797 (patch) | |
tree | 72f81386ecfbab37cc21e923de8b10519bf43dea /arch | |
parent | deabeabf0bb8e6ad0b5917859893ac5af46d9b04 (diff) |
powerpc/85xx: TQM8548: add missing support for RTC and LM75
It adds the missing RTC node to tqm8548.dts and enables support for
I2C, DS1307 and LM75 in the default configuration.
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/dts/tqm8548.dts | 5 | ||||
-rw-r--r-- | arch/powerpc/configs/85xx/tqm8548_defconfig | 143 |
2 files changed, 142 insertions, 6 deletions
diff --git a/arch/powerpc/boot/dts/tqm8548.dts b/arch/powerpc/boot/dts/tqm8548.dts index 13cd7280cb26..2563112cabd3 100644 --- a/arch/powerpc/boot/dts/tqm8548.dts +++ b/arch/powerpc/boot/dts/tqm8548.dts | |||
@@ -83,6 +83,11 @@ | |||
83 | interrupts = <43 2>; | 83 | interrupts = <43 2>; |
84 | interrupt-parent = <&mpic>; | 84 | interrupt-parent = <&mpic>; |
85 | dfsrr; | 85 | dfsrr; |
86 | |||
87 | rtc@68 { | ||
88 | compatible = "dallas,ds1337"; | ||
89 | reg = <0x68>; | ||
90 | }; | ||
86 | }; | 91 | }; |
87 | 92 | ||
88 | i2c@3100 { | 93 | i2c@3100 { |
diff --git a/arch/powerpc/configs/85xx/tqm8548_defconfig b/arch/powerpc/configs/85xx/tqm8548_defconfig index 5d5b898767a3..b3b770be3cc9 100644 --- a/arch/powerpc/configs/85xx/tqm8548_defconfig +++ b/arch/powerpc/configs/85xx/tqm8548_defconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
3 | # Linux kernel version: 2.6.26-rc4 | 3 | # Linux kernel version: 2.6.26-rc5 |
4 | # Tue Jun 3 14:39:30 2008 | 4 | # Thu Jun 26 14:40:02 2008 |
5 | # | 5 | # |
6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
7 | 7 | ||
@@ -15,6 +15,7 @@ CONFIG_PPC_85xx=y | |||
15 | # CONFIG_44x is not set | 15 | # CONFIG_44x is not set |
16 | # CONFIG_E200 is not set | 16 | # CONFIG_E200 is not set |
17 | CONFIG_E500=y | 17 | CONFIG_E500=y |
18 | # CONFIG_PPC_E500MC is not set | ||
18 | CONFIG_BOOKE=y | 19 | CONFIG_BOOKE=y |
19 | CONFIG_FSL_BOOKE=y | 20 | CONFIG_FSL_BOOKE=y |
20 | CONFIG_FSL_EMB_PERFMON=y | 21 | CONFIG_FSL_EMB_PERFMON=y |
@@ -470,6 +471,7 @@ CONFIG_MTD_UBI_BEB_RESERVE=1 | |||
470 | # | 471 | # |
471 | # CONFIG_MTD_UBI_DEBUG is not set | 472 | # CONFIG_MTD_UBI_DEBUG is not set |
472 | CONFIG_OF_DEVICE=y | 473 | CONFIG_OF_DEVICE=y |
474 | CONFIG_OF_I2C=y | ||
473 | # CONFIG_PARPORT is not set | 475 | # CONFIG_PARPORT is not set |
474 | CONFIG_BLK_DEV=y | 476 | CONFIG_BLK_DEV=y |
475 | # CONFIG_BLK_DEV_FD is not set | 477 | # CONFIG_BLK_DEV_FD is not set |
@@ -734,31 +736,111 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
734 | # CONFIG_IPMI_HANDLER is not set | 736 | # CONFIG_IPMI_HANDLER is not set |
735 | # CONFIG_HW_RANDOM is not set | 737 | # CONFIG_HW_RANDOM is not set |
736 | # CONFIG_NVRAM is not set | 738 | # CONFIG_NVRAM is not set |
737 | CONFIG_GEN_RTC=y | ||
738 | # CONFIG_GEN_RTC_X is not set | ||
739 | # CONFIG_R3964 is not set | 739 | # CONFIG_R3964 is not set |
740 | # CONFIG_APPLICOM is not set | 740 | # CONFIG_APPLICOM is not set |
741 | # CONFIG_RAW_DRIVER is not set | 741 | # CONFIG_RAW_DRIVER is not set |
742 | # CONFIG_TCG_TPM is not set | 742 | # CONFIG_TCG_TPM is not set |
743 | CONFIG_DEVPORT=y | 743 | CONFIG_DEVPORT=y |
744 | # CONFIG_I2C is not set | 744 | CONFIG_I2C=y |
745 | CONFIG_I2C_BOARDINFO=y | ||
746 | CONFIG_I2C_CHARDEV=y | ||
747 | |||
748 | # | ||
749 | # I2C Hardware Bus support | ||
750 | # | ||
751 | # CONFIG_I2C_ALI1535 is not set | ||
752 | # CONFIG_I2C_ALI1563 is not set | ||
753 | # CONFIG_I2C_ALI15X3 is not set | ||
754 | # CONFIG_I2C_AMD756 is not set | ||
755 | # CONFIG_I2C_AMD8111 is not set | ||
756 | # CONFIG_I2C_I801 is not set | ||
757 | # CONFIG_I2C_I810 is not set | ||
758 | # CONFIG_I2C_PIIX4 is not set | ||
759 | CONFIG_I2C_MPC=y | ||
760 | # CONFIG_I2C_NFORCE2 is not set | ||
761 | # CONFIG_I2C_OCORES is not set | ||
762 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
763 | # CONFIG_I2C_PROSAVAGE is not set | ||
764 | # CONFIG_I2C_SAVAGE4 is not set | ||
765 | # CONFIG_I2C_SIMTEC is not set | ||
766 | # CONFIG_I2C_SIS5595 is not set | ||
767 | # CONFIG_I2C_SIS630 is not set | ||
768 | # CONFIG_I2C_SIS96X is not set | ||
769 | # CONFIG_I2C_TAOS_EVM is not set | ||
770 | # CONFIG_I2C_STUB is not set | ||
771 | # CONFIG_I2C_VIA is not set | ||
772 | # CONFIG_I2C_VIAPRO is not set | ||
773 | # CONFIG_I2C_VOODOO3 is not set | ||
774 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
775 | |||
776 | # | ||
777 | # Miscellaneous I2C Chip support | ||
778 | # | ||
779 | # CONFIG_DS1682 is not set | ||
780 | # CONFIG_SENSORS_EEPROM is not set | ||
781 | # CONFIG_SENSORS_PCF8574 is not set | ||
782 | # CONFIG_PCF8575 is not set | ||
783 | # CONFIG_SENSORS_PCF8591 is not set | ||
784 | # CONFIG_SENSORS_MAX6875 is not set | ||
785 | # CONFIG_SENSORS_TSL2550 is not set | ||
786 | # CONFIG_I2C_DEBUG_CORE is not set | ||
787 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
788 | # CONFIG_I2C_DEBUG_BUS is not set | ||
789 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
745 | # CONFIG_SPI is not set | 790 | # CONFIG_SPI is not set |
746 | # CONFIG_W1 is not set | 791 | # CONFIG_W1 is not set |
747 | # CONFIG_POWER_SUPPLY is not set | 792 | # CONFIG_POWER_SUPPLY is not set |
748 | CONFIG_HWMON=y | 793 | CONFIG_HWMON=y |
749 | # CONFIG_HWMON_VID is not set | 794 | # CONFIG_HWMON_VID is not set |
795 | # CONFIG_SENSORS_AD7418 is not set | ||
796 | # CONFIG_SENSORS_ADM1021 is not set | ||
797 | # CONFIG_SENSORS_ADM1025 is not set | ||
798 | # CONFIG_SENSORS_ADM1026 is not set | ||
799 | # CONFIG_SENSORS_ADM1029 is not set | ||
800 | # CONFIG_SENSORS_ADM1031 is not set | ||
801 | # CONFIG_SENSORS_ADM9240 is not set | ||
802 | # CONFIG_SENSORS_ADT7470 is not set | ||
803 | # CONFIG_SENSORS_ADT7473 is not set | ||
804 | # CONFIG_SENSORS_ATXP1 is not set | ||
805 | # CONFIG_SENSORS_DS1621 is not set | ||
750 | # CONFIG_SENSORS_I5K_AMB is not set | 806 | # CONFIG_SENSORS_I5K_AMB is not set |
751 | # CONFIG_SENSORS_F71805F is not set | 807 | # CONFIG_SENSORS_F71805F is not set |
752 | # CONFIG_SENSORS_F71882FG is not set | 808 | # CONFIG_SENSORS_F71882FG is not set |
809 | # CONFIG_SENSORS_F75375S is not set | ||
810 | # CONFIG_SENSORS_GL518SM is not set | ||
811 | # CONFIG_SENSORS_GL520SM is not set | ||
753 | # CONFIG_SENSORS_IT87 is not set | 812 | # CONFIG_SENSORS_IT87 is not set |
813 | # CONFIG_SENSORS_LM63 is not set | ||
814 | CONFIG_SENSORS_LM75=y | ||
815 | # CONFIG_SENSORS_LM77 is not set | ||
816 | # CONFIG_SENSORS_LM78 is not set | ||
817 | # CONFIG_SENSORS_LM80 is not set | ||
818 | # CONFIG_SENSORS_LM83 is not set | ||
819 | # CONFIG_SENSORS_LM85 is not set | ||
820 | # CONFIG_SENSORS_LM87 is not set | ||
821 | # CONFIG_SENSORS_LM90 is not set | ||
822 | # CONFIG_SENSORS_LM92 is not set | ||
823 | # CONFIG_SENSORS_LM93 is not set | ||
824 | # CONFIG_SENSORS_MAX1619 is not set | ||
825 | # CONFIG_SENSORS_MAX6650 is not set | ||
754 | # CONFIG_SENSORS_PC87360 is not set | 826 | # CONFIG_SENSORS_PC87360 is not set |
755 | # CONFIG_SENSORS_PC87427 is not set | 827 | # CONFIG_SENSORS_PC87427 is not set |
756 | # CONFIG_SENSORS_SIS5595 is not set | 828 | # CONFIG_SENSORS_SIS5595 is not set |
829 | # CONFIG_SENSORS_DME1737 is not set | ||
757 | # CONFIG_SENSORS_SMSC47M1 is not set | 830 | # CONFIG_SENSORS_SMSC47M1 is not set |
831 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
758 | # CONFIG_SENSORS_SMSC47B397 is not set | 832 | # CONFIG_SENSORS_SMSC47B397 is not set |
833 | # CONFIG_SENSORS_ADS7828 is not set | ||
834 | # CONFIG_SENSORS_THMC50 is not set | ||
759 | # CONFIG_SENSORS_VIA686A is not set | 835 | # CONFIG_SENSORS_VIA686A is not set |
760 | # CONFIG_SENSORS_VT1211 is not set | 836 | # CONFIG_SENSORS_VT1211 is not set |
761 | # CONFIG_SENSORS_VT8231 is not set | 837 | # CONFIG_SENSORS_VT8231 is not set |
838 | # CONFIG_SENSORS_W83781D is not set | ||
839 | # CONFIG_SENSORS_W83791D is not set | ||
840 | # CONFIG_SENSORS_W83792D is not set | ||
841 | # CONFIG_SENSORS_W83793 is not set | ||
842 | # CONFIG_SENSORS_W83L785TS is not set | ||
843 | # CONFIG_SENSORS_W83L786NG is not set | ||
762 | # CONFIG_SENSORS_W83627HF is not set | 844 | # CONFIG_SENSORS_W83627HF is not set |
763 | # CONFIG_SENSORS_W83627EHF is not set | 845 | # CONFIG_SENSORS_W83627EHF is not set |
764 | # CONFIG_HWMON_DEBUG_CHIP is not set | 846 | # CONFIG_HWMON_DEBUG_CHIP is not set |
@@ -834,7 +916,56 @@ CONFIG_USB_ARCH_HAS_EHCI=y | |||
834 | # CONFIG_ACCESSIBILITY is not set | 916 | # CONFIG_ACCESSIBILITY is not set |
835 | # CONFIG_INFINIBAND is not set | 917 | # CONFIG_INFINIBAND is not set |
836 | # CONFIG_EDAC is not set | 918 | # CONFIG_EDAC is not set |
837 | # CONFIG_RTC_CLASS is not set | 919 | CONFIG_RTC_LIB=y |
920 | CONFIG_RTC_CLASS=y | ||
921 | CONFIG_RTC_HCTOSYS=y | ||
922 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
923 | # CONFIG_RTC_DEBUG is not set | ||
924 | |||
925 | # | ||
926 | # RTC interfaces | ||
927 | # | ||
928 | CONFIG_RTC_INTF_SYSFS=y | ||
929 | CONFIG_RTC_INTF_PROC=y | ||
930 | CONFIG_RTC_INTF_DEV=y | ||
931 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
932 | # CONFIG_RTC_DRV_TEST is not set | ||
933 | |||
934 | # | ||
935 | # I2C RTC drivers | ||
936 | # | ||
937 | CONFIG_RTC_DRV_DS1307=y | ||
938 | # CONFIG_RTC_DRV_DS1374 is not set | ||
939 | # CONFIG_RTC_DRV_DS1672 is not set | ||
940 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
941 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
942 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
943 | # CONFIG_RTC_DRV_X1205 is not set | ||
944 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
945 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
946 | # CONFIG_RTC_DRV_M41T80 is not set | ||
947 | # CONFIG_RTC_DRV_S35390A is not set | ||
948 | |||
949 | # | ||
950 | # SPI RTC drivers | ||
951 | # | ||
952 | |||
953 | # | ||
954 | # Platform RTC drivers | ||
955 | # | ||
956 | # CONFIG_RTC_DRV_CMOS is not set | ||
957 | # CONFIG_RTC_DRV_DS1511 is not set | ||
958 | # CONFIG_RTC_DRV_DS1553 is not set | ||
959 | # CONFIG_RTC_DRV_DS1742 is not set | ||
960 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
961 | # CONFIG_RTC_DRV_M48T86 is not set | ||
962 | # CONFIG_RTC_DRV_M48T59 is not set | ||
963 | # CONFIG_RTC_DRV_V3020 is not set | ||
964 | |||
965 | # | ||
966 | # on-CPU RTC drivers | ||
967 | # | ||
968 | # CONFIG_RTC_DRV_PPC is not set | ||
838 | # CONFIG_DMADEVICES is not set | 969 | # CONFIG_DMADEVICES is not set |
839 | # CONFIG_UIO is not set | 970 | # CONFIG_UIO is not set |
840 | 971 | ||