Hi,
We have PCF8563TS RTC on our custom board which is not being detected in i2c interface, in both i2c probe in u-boot & also i2cdetect utility.
We are expecting 0xa2 address as mentioned in the data sheet.
Regards,
Sujan
Hi
Refering the device tree example, the address should be 0x51.
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Philips PCF8563/Epson RTC8564 Real Time Clock
maintainers:
- Alexandre Belloni <alexandre.belloni@bootlin.com>
allOf:
- $ref: rtc.yaml#
properties:
compatible:
enum:
- epson,rtc8564
- microcrystal,rv8564
- nxp,pca8565
- nxp,pcf8563
reg:
maxItems: 1
"#clock-cells":
const: 0
clock-output-names:
maxItems: 1
interrupts:
maxItems: 1
start-year: true
wakeup-source: true
required:
- compatible
- reg
additionalProperties: false
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
#clock-cells = <0>;
};
};
...
Best Regards
Zhiming
Hi Zhiming,
Well, even the address 0x51 is not detected in i2c probe scan.
We have a crystal SWS2129F48-32.768K which is connected b/w OSCI & OSCO.
Also there is a pull-up for i2c, which is working for other slaves.
Any ideas ?
Regards,
Sujan