The kernel uses upper case for I2C unit addresses. Follow the same
convention to reduce differences.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
interrupts = <1 9 0xf04>;
};
interrupts = <1 9 0xf04>;
};
- i2c@12c60000 {
- #address-cells = <1>;
- #size-cells = <0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12C60000 0x100>;
interrupts = <0 56 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12C60000 0x100>;
interrupts = <0 56 0>;
#address-cells = <1>;
#size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
+ };
+
+ i2c_1: i2c@12C70000 {
compatible = "samsung,s3c2440-i2c";
reg = <0x12C70000 0x100>;
interrupts = <0 57 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12C70000 0x100>;
interrupts = <0 57 0>;
#address-cells = <1>;
#size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
+ };
+
+ i2c_2: i2c@12C80000 {
compatible = "samsung,s3c2440-i2c";
reg = <0x12C80000 0x100>;
interrupts = <0 58 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12C80000 0x100>;
interrupts = <0 58 0>;
#address-cells = <1>;
#size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
+ };
+
+ i2c_3: i2c@12C90000 {
compatible = "samsung,s3c2440-i2c";
reg = <0x12C90000 0x100>;
interrupts = <0 59 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12C90000 0x100>;
interrupts = <0 59 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
interrupts = <0 68 0>;
};
interrupts = <0 68 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
interrupts = <0 69 0>;
};
interrupts = <0 69 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
interrupts = <0 70 0>;
};
interrupts = <0 70 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
interrupts = <0 129 0>;
};
interrupts = <0 129 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos-spi";
compatible = "samsung,arndale", "samsung,exynos5250";
aliases {
compatible = "samsung,arndale", "samsung,exynos5250";
aliases {
- i2c0 = "/i2c@12c60000";
- i2c1 = "/i2c@12c70000";
- i2c2 = "/i2c@12c80000";
- i2c3 = "/i2c@12c90000";
- i2c4 = "/i2c@12ca0000";
- i2c5 = "/i2c@12cb0000";
- i2c6 = "/i2c@12cc0000";
- i2c7 = "/i2c@12cd0000";
+ i2c0 = "/i2c@12C60000";
+ i2c1 = "/i2c@12C70000";
+ i2c2 = "/i2c@12C80000";
+ i2c3 = "/i2c@12C90000";
+ i2c4 = "/i2c@12CA0000";
+ i2c5 = "/i2c@12CB0000";
+ i2c6 = "/i2c@12CC0000";
+ i2c7 = "/i2c@12CD0000";
serial0 = "/serial@12C20000";
console = "/serial@12C20000";
};
serial0 = "/serial@12C20000";
console = "/serial@12C20000";
};
/dts-v1/;
#include "exynos5250.dtsi"
/dts-v1/;
#include "exynos5250.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
/ {
model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
compatible = "samsung,smdk5250", "samsung,exynos5250";
aliases {
/ {
model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
compatible = "samsung,smdk5250", "samsung,exynos5250";
aliases {
- i2c0 = "/i2c@12c60000";
- i2c1 = "/i2c@12c70000";
- i2c2 = "/i2c@12c80000";
- i2c3 = "/i2c@12c90000";
- i2c4 = "/i2c@12ca0000";
- i2c5 = "/i2c@12cb0000";
- i2c6 = "/i2c@12cc0000";
- i2c7 = "/i2c@12cd0000";
+ i2c0 = "/i2c@12C60000";
+ i2c1 = "/i2c@12C70000";
+ i2c2 = "/i2c@12C80000";
+ i2c3 = "/i2c@12C90000";
+ i2c4 = "/i2c@12CA0000";
+ i2c5 = "/i2c@12CB0000";
+ i2c6 = "/i2c@12CC0000";
+ i2c7 = "/i2c@12CD0000";
spi0 = "/spi@12d20000";
spi1 = "/spi@12d30000";
spi2 = "/spi@12d40000";
spi0 = "/spi@12d20000";
spi1 = "/spi@12d30000";
spi2 = "/spi@12d40000";
soundcodec@1a {
reg = <0x1a>;
compatible = "wolfson,wm8994-codec";
};
};
soundcodec@1a {
reg = <0x1a>;
compatible = "wolfson,wm8994-codec";
};
};
pmic@9 {
reg = <0x9>;
compatible = "maxim,max77686";
pmic@9 {
reg = <0x9>;
compatible = "maxim,max77686";
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/input/input.h>
#include "exynos5250.dtsi"
/ {
model = "Google Snow";
#include "exynos5250.dtsi"
/ {
model = "Google Snow";
- compatible = "google,snow", "samsung,exynos5250";
+ compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
- i2c0 = "/i2c@12c60000";
- i2c1 = "/i2c@12c70000";
- i2c2 = "/i2c@12c80000";
- i2c3 = "/i2c@12c90000";
- i2c4 = "/i2c@12ca0000";
- i2c5 = "/i2c@12cb0000";
- i2c6 = "/i2c@12cc0000";
- i2c7 = "/i2c@12cd0000";
+ i2c0 = "/i2c@12C60000";
+ i2c1 = "/i2c@12C70000";
+ i2c2 = "/i2c@12C80000";
+ i2c3 = "/i2c@12C90000";
+ i2c4 = "/i2c@12CA0000";
+ i2c5 = "/i2c@12CB0000";
+ i2c6 = "/i2c@12CC0000";
+ i2c7 = "/i2c@12CD0000";
spi0 = "/spi@12d20000";
spi1 = "/spi@12d30000";
spi2 = "/spi@12d40000";
spi0 = "/spi@12d20000";
spi1 = "/spi@12d30000";
spi2 = "/spi@12d40000";
i2s = "/sound@3830000";
};
i2s = "/sound@3830000";
};
cros_ec: cros-ec@1e {
reg = <0x1e>;
compatible = "google,cros-ec-i2c";
cros_ec: cros-ec@1e {
reg = <0x1e>;
compatible = "google,cros-ec-i2c";
spi-max-frequency = <1000000>;
spi-deactivate-delay = <100>;
spi-max-frequency = <1000000>;
spi-deactivate-delay = <100>;
+ /* Snow did support SPI but the released version used I2C */
embedded-controller {
compatible = "google,cros-ec-i2c";
reg = <0x1e>;
embedded-controller {
compatible = "google,cros-ec-i2c";
reg = <0x1e>;
soundcodec@22 {
reg = <0x22>;
compatible = "maxim,max98095-codec";
soundcodec@22 {
reg = <0x22>;
compatible = "maxim,max98095-codec";
- i2c@12c60000 {
- pmic@9 {
+ i2c@12C60000 {
+ max77686@09 {
reg = <0x9>;
compatible = "maxim,max77686";
};
reg = <0x9>;
compatible = "maxim,max77686";
};
interrupts = <0 47 0>;
};
interrupts = <0 47 0>;
};
- i2c@12ca0000 {
- #address-cells = <1>;
- #size-cells = <0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12CA0000 0x100>;
interrupts = <0 60 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12CA0000 0x100>;
interrupts = <0 60 0>;
#address-cells = <1>;
#size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
+ };
+
+ i2c_5: i2c@12CB0000 {
compatible = "samsung,s3c2440-i2c";
reg = <0x12CB0000 0x100>;
interrupts = <0 61 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12CB0000 0x100>;
interrupts = <0 61 0>;
#address-cells = <1>;
#size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
+ };
+
+ i2c_6: i2c@12CC0000 {
compatible = "samsung,s3c2440-i2c";
reg = <0x12CC0000 0x100>;
interrupts = <0 62 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12CC0000 0x100>;
interrupts = <0 62 0>;
#address-cells = <1>;
#size-cells = <0>;
#address-cells = <1>;
#size-cells = <0>;
+ };
+
+ i2c_7: i2c@12CD0000 {
compatible = "samsung,s3c2440-i2c";
reg = <0x12CD0000 0x100>;
interrupts = <0 63 0>;
compatible = "samsung,s3c2440-i2c";
reg = <0x12CD0000 0x100>;
interrupts = <0 63 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
aliases {
serial0 = "/serial@12C30000";
console = "/serial@12C30000";
aliases {
serial0 = "/serial@12C30000";
console = "/serial@12C30000";
- pmic = "/i2c@12ca0000";
+ pmic = "/i2c@12CA0000";
};
/* MAX77802 is on i2c bus 4 */
};
/* MAX77802 is on i2c bus 4 */
clock-frequency = <400000>;
power-regulator@9 {
compatible = "maxim,max77802-pmic";
clock-frequency = <400000>;
power-regulator@9 {
compatible = "maxim,max77802-pmic";
- i2c@12cd0000 { /* i2c7 */
+ i2c@12CD0000 { /* i2c7 */
clock-frequency = <100000>;
soundcodec@20 {
reg = <0x20>;
clock-frequency = <100000>;
soundcodec@20 {
reg = <0x20>;
samsung,codec-type = "max98090";
};
samsung,codec-type = "max98090";
};
- i2c@12e10000 { /* i2c9 */
+ i2c@12E10000 { /* i2c9 */
clock-frequency = <400000>;
tpm@20 {
compatible = "infineon,slb9645tt";
clock-frequency = <400000>;
tpm@20 {
compatible = "infineon,slb9645tt";
};
/* s2mps11 is on i2c bus 4 */
};
/* s2mps11 is on i2c bus 4 */
#address-cells = <1>;
#size-cells = <0>;
pmic@66 {
#address-cells = <1>;
#size-cells = <0>;
pmic@66 {
samsung,codec-type = "wm8994";
};
samsung,codec-type = "wm8994";
};
soundcodec@1a {
reg = <0x1a>;
compatible = "wolfson,wm8994-codec";
soundcodec@1a {
reg = <0x1a>;
compatible = "wolfson,wm8994-codec";
- i2c0 = "/i2c@12c60000";
- i2c1 = "/i2c@12c70000";
- i2c2 = "/i2c@12c80000";
- i2c3 = "/i2c@12c90000";
- i2c4 = "/i2c@12ca0000";
- i2c5 = "/i2c@12cb0000";
- i2c6 = "/i2c@12cc0000";
- i2c7 = "/i2c@12cd0000";
- i2c8 = "/i2c@12e00000";
- i2c9 = "/i2c@12e10000";
- i2c10 = "/i2c@12e20000";
+ i2c0 = "/i2c@12C60000";
+ i2c1 = "/i2c@12C70000";
+ i2c2 = "/i2c@12C80000";
+ i2c3 = "/i2c@12C90000";
+ i2c4 = "/i2c@12CA0000";
+ i2c5 = "/i2c@12CB0000";
+ i2c6 = "/i2c@12CC0000";
+ i2c7 = "/i2c@12CD0000";
+ i2c8 = "/i2c@12E00000";
+ i2c9 = "/i2c@12E10000";
+ i2c10 = "/i2c@12E20000";
pinctrl0 = &pinctrl_0;
pinctrl1 = &pinctrl_1;
pinctrl2 = &pinctrl_2;
pinctrl0 = &pinctrl_0;
pinctrl1 = &pinctrl_1;
pinctrl2 = &pinctrl_2;
xhci1 = "/xhci@12400000";
};
xhci1 = "/xhci@12400000";
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
interrupts = <0 60 0>;
};
interrupts = <0 60 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
interrupts = <0 61 0>;
};
interrupts = <0 61 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
interrupts = <0 62 0>;
};
interrupts = <0 62 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
interrupts = <0 63 0>;
};
interrupts = <0 63 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
interrupts = <0 87 0>;
};
interrupts = <0 87 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
interrupts = <0 88 0>;
};
interrupts = <0 88 0>;
};
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
#address-cells = <1>;
#size-cells = <0>;
compatible = "samsung,exynos5-hsi2c";
aliases {
serial0 = "/serial@12C30000";
console = "/serial@12C30000";
aliases {
serial0 = "/serial@12C30000";
console = "/serial@12C30000";
- pmic = "/i2c@12ca0000";
+ pmic = "/i2c@12CA0000";
};
/* MAX77802 is on i2c bus 4 */
};
/* MAX77802 is on i2c bus 4 */
clock-frequency = <400000>;
power-regulator@9 {
compatible = "maxim,max77802-pmic";
clock-frequency = <400000>;
power-regulator@9 {
compatible = "maxim,max77802-pmic";
- i2c@12cd0000 { /* i2c7 */
+ i2c@12CD0000 { /* i2c7 */
clock-frequency = <100000>;
soundcodec@20 {
reg = <0x20>;
clock-frequency = <100000>;
soundcodec@20 {
reg = <0x20>;
samsung,codec-type = "max98090";
};
samsung,codec-type = "max98090";
};
- i2c@12e10000 { /* i2c9 */
+ i2c@12E10000 { /* i2c9 */
clock-frequency = <400000>;
tpm@20 {
compatible = "infineon,slb9645tt";
clock-frequency = <400000>;
tpm@20 {
compatible = "infineon,slb9645tt";