Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+44 -13
+2 -4
arch/arm/boot/dts/ste-dbx5x0.dtsi
··· 1149 1149 compatible = "stericsson,ux500-cryp"; 1150 1150 reg = <0xa03cb000 0x1000>; 1151 1151 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 1152 - 1153 - v-ape-supply = <&db8500_vape_reg>; 1154 1152 clocks = <&prcc_pclk 6 1>; 1153 + power-domains = <&pm_domains DOMAIN_VAPE>; 1155 1154 }; 1156 1155 1157 1156 hash@a03c2000 { 1158 1157 compatible = "stericsson,ux500-hash"; 1159 1158 reg = <0xa03c2000 0x1000>; 1160 - 1161 - v-ape-supply = <&db8500_vape_reg>; 1162 1159 clocks = <&prcc_pclk 6 2>; 1160 + power-domains = <&pm_domains DOMAIN_VAPE>; 1163 1161 }; 1164 1162 }; 1165 1163 };
+1 -1
arch/arm/boot/dts/ste-ux500-samsung-codina-tmo.dts
··· 239 239 }; 240 240 }; 241 241 242 - spi-gpio-0 { 242 + spi { 243 243 compatible = "spi-gpio"; 244 244 /* Clock on GPIO220, pin SCL */ 245 245 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
+1 -1
arch/arm/boot/dts/ste-ux500-samsung-codina.dts
··· 325 325 }; 326 326 }; 327 327 328 - spi-gpio-0 { 328 + spi { 329 329 compatible = "spi-gpio"; 330 330 /* Clock on GPIO220, pin SCL */ 331 331 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
+1 -1
arch/arm/boot/dts/ste-ux500-samsung-gavini.dts
··· 269 269 /* 270 270 * TODO: See if we can use the PL023 for this instead. 271 271 */ 272 - spi-gpio-0 { 272 + spi { 273 273 compatible = "spi-gpio"; 274 274 /* Clock on GPIO220, pin SCL */ 275 275 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
+10 -6
arch/arm/boot/dts/ste-ux500-samsung-janice.dts
··· 263 263 * this derivative is 3wire support, so it cannot be used to drive 264 264 * this panel interface. We have to use GPIO bit-banging instead. 265 265 */ 266 - spi-gpio-0 { 266 + spi { 267 267 compatible = "spi-gpio"; 268 268 /* Clock on GPIO220 */ 269 269 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>; ··· 365 365 #address-cells = <1>; 366 366 #size-cells = <0>; 367 367 368 - nfc@30 { 369 - compatible = "nxp,pn547", "nxp,nxp-nci-i2c"; 370 - reg = <0x30>; 368 + /* This is only mounted on the GT-I9070P */ 369 + nfc@2b { /* 0x30? */ 370 + /* NXP NFC circuit PN544 C1 marked NXP 44501 */ 371 + compatible = "nxp,pn544-i2c"; 372 + /* IF0, IF1 high, gives I2C address 0x2B */ 373 + reg = <0x2b>; 374 + clock-frequency = <400000>; 371 375 /* NFC IRQ on GPIO32 */ 372 376 interrupt-parent = <&gpio1>; 373 377 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; ··· 380 376 /* GPIO88 */ 381 377 enable-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>; 382 378 pinctrl-names = "default"; 383 - pinctrl-0 = <&pn547_janice_default>; 379 + pinctrl-0 = <&pn544_janice_default>; 384 380 }; 385 381 }; 386 382 ··· 955 951 }; 956 952 }; 957 953 nfc { 958 - pn547_janice_default: pn547_janice { 954 + pn544_janice_default: pn544_janice { 959 955 /* Interrupt line */ 960 956 janice_cfg1 { 961 957 pins = "GPIO32_V2";
+29
arch/arm/boot/dts/ste-ux500-samsung-kyle.dts
··· 307 307 pinctrl-names = "default", "sleep"; 308 308 pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>; 309 309 pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>; 310 + 311 + gnss { 312 + /* The CSRG05TA03-ICJE-R is a SirfStarV 5t chip */ 313 + compatible = "csr,csrg05ta03-icje-r"; 314 + /* GPS_RSTN on GPIO21 */ 315 + reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; 316 + /* GPS_ON_OFF on GPIO86 */ 317 + sirf,onoff-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; 318 + /* GPS_1V8 (VSMPS2) */ 319 + vcc-supply = <&db8500_vsmps2_reg>; 320 + pinctrl-names = "default"; 321 + pinctrl-0 = <&g05ta03_kyle_default>; 322 + /* According to /etc/sirfgps.conf */ 323 + current-speed = <460800>; 324 + }; 310 325 }; 311 326 312 327 /* Debugging console UART connected to AB8505 USB */ ··· 678 663 kyle_cfg1 { 679 664 pins = "GPIO218_AH11"; 680 665 ste,config = <&gpio_in_nopull>; 666 + }; 667 + }; 668 + }; 669 + g05ta03 { 670 + g05ta03_kyle_default: g05ta03 { 671 + /* Reset line, start out de-asserted */ 672 + kyle_cfg1 { 673 + pins = "GPIO21_AB3"; 674 + ste,config = <&gpio_out_hi>; 675 + }; 676 + /* GPS_ON_OFF, start out deasserted (off) */ 677 + kyle_cfg2 { 678 + pins = "GPIO86_C6"; 679 + ste,config = <&gpio_out_lo>; 681 680 }; 682 681 }; 683 682 };