Merge tag 'ux500-dts-for-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into arm/dt

Some Ux500 DTS updates for v6.2:

- Some cleanups from Krzysztof for the SPI nodes.

- Fix up the NFC chip in Janice.

- Drop a bogus power domain regulator that isn't used for
  the crypto blocks. (We use proper power domains now.)

- Add GPS to the Kyle.

* tag 'ux500-dts-for-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: ux500: Add GPS to the Kyle
  ARM: dts: DBx500 cryp and hash uses power domain
  ARM: dts: ux500: Fix up the Janice NFC chip
  ARM: dts: ste: ux500: align SPI node name with dtschema

Link: https://lore.kernel.org/r/CACRpkdaXmmZWsGdTG5tqNragkoefcTeUHjR+ZwNyNaa0S7s-7Q@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-10-27 18:09:46 +02:00
commit a3864ff04c
No known key found for this signature in database
GPG Key ID: 9A6C79EFE60018D9
6 changed files with 44 additions and 13 deletions

View File

@ -1149,17 +1149,15 @@ cryp@a03cb000 {
compatible = "stericsson,ux500-cryp";
reg = <0xa03cb000 0x1000>;
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
v-ape-supply = <&db8500_vape_reg>;
clocks = <&prcc_pclk 6 1>;
power-domains = <&pm_domains DOMAIN_VAPE>;
};
hash@a03c2000 {
compatible = "stericsson,ux500-hash";
reg = <0xa03c2000 0x1000>;
v-ape-supply = <&db8500_vape_reg>;
clocks = <&prcc_pclk 6 2>;
power-domains = <&pm_domains DOMAIN_VAPE>;
};
};
};

View File

@ -239,7 +239,7 @@ magnetometer@c {
};
};
spi-gpio-0 {
spi {
compatible = "spi-gpio";
/* Clock on GPIO220, pin SCL */
sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;

View File

@ -325,7 +325,7 @@ nfc@2b {
};
};
spi-gpio-0 {
spi {
compatible = "spi-gpio";
/* Clock on GPIO220, pin SCL */
sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;

View File

@ -269,7 +269,7 @@ magnetometer@2e {
/*
* TODO: See if we can use the PL023 for this instead.
*/
spi-gpio-0 {
spi {
compatible = "spi-gpio";
/* Clock on GPIO220, pin SCL */
sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;

View File

@ -263,7 +263,7 @@ magnetometer@2e {
* this derivative is 3wire support, so it cannot be used to drive
* this panel interface. We have to use GPIO bit-banging instead.
*/
spi-gpio-0 {
spi {
compatible = "spi-gpio";
/* Clock on GPIO220 */
sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
@ -365,9 +365,13 @@ i2c-gpio-3 {
#address-cells = <1>;
#size-cells = <0>;
nfc@30 {
compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
reg = <0x30>;
/* This is only mounted on the GT-I9070P */
nfc@2b { /* 0x30? */
/* NXP NFC circuit PN544 C1 marked NXP 44501 */
compatible = "nxp,pn544-i2c";
/* IF0, IF1 high, gives I2C address 0x2B */
reg = <0x2b>;
clock-frequency = <400000>;
/* NFC IRQ on GPIO32 */
interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
@ -376,7 +380,7 @@ nfc@30 {
/* GPIO88 */
enable-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pn547_janice_default>;
pinctrl-0 = <&pn544_janice_default>;
};
};
@ -951,7 +955,7 @@ janice_cfg1 {
};
};
nfc {
pn547_janice_default: pn547_janice {
pn544_janice_default: pn544_janice {
/* Interrupt line */
janice_cfg1 {
pins = "GPIO32_V2";

View File

@ -307,6 +307,21 @@ uart@80121000 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>;
pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>;
gnss {
/* The CSRG05TA03-ICJE-R is a SirfStarV 5t chip */
compatible = "csr,csrg05ta03-icje-r";
/* GPS_RSTN on GPIO21 */
reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
/* GPS_ON_OFF on GPIO86 */
sirf,onoff-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
/* GPS_1V8 (VSMPS2) */
vcc-supply = <&db8500_vsmps2_reg>;
pinctrl-names = "default";
pinctrl-0 = <&g05ta03_kyle_default>;
/* According to /etc/sirfgps.conf */
current-speed = <460800>;
};
};
/* Debugging console UART connected to AB8505 USB */
@ -666,6 +681,20 @@ kyle_cfg1 {
};
};
};
g05ta03 {
g05ta03_kyle_default: g05ta03 {
/* Reset line, start out de-asserted */
kyle_cfg1 {
pins = "GPIO21_AB3";
ste,config = <&gpio_out_hi>;
};
/* GPS_ON_OFF, start out deasserted (off) */
kyle_cfg2 {
pins = "GPIO86_C6";
ste,config = <&gpio_out_lo>;
};
};
};
};
&ab8505_gpio {