mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	x86: link: Add required GPIO properties
In order to use GPIO phandles we need to add some GPIO properties as specified by the GPIO bindings. Add these for link. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
		| @@ -249,23 +249,29 @@ | |||||||
| 				}; | 				}; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			gpioa { | 			gpio_a: gpioa { | ||||||
| 				compatible = "intel,ich6-gpio"; | 				compatible = "intel,ich6-gpio"; | ||||||
| 				u-boot,dm-pre-reloc; | 				u-boot,dm-pre-reloc; | ||||||
|  | 				#gpio-cells = <2>; | ||||||
|  | 				gpio-controller; | ||||||
| 				reg = <0 0x10>; | 				reg = <0 0x10>; | ||||||
| 				bank-name = "A"; | 				bank-name = "A"; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			gpiob { | 			gpio_b: gpiob { | ||||||
| 				compatible = "intel,ich6-gpio"; | 				compatible = "intel,ich6-gpio"; | ||||||
| 				u-boot,dm-pre-reloc; | 				u-boot,dm-pre-reloc; | ||||||
|  | 				#gpio-cells = <2>; | ||||||
|  | 				gpio-controller; | ||||||
| 				reg = <0x30 0x10>; | 				reg = <0x30 0x10>; | ||||||
| 				bank-name = "B"; | 				bank-name = "B"; | ||||||
| 			}; | 			}; | ||||||
|  |  | ||||||
| 			gpioc { | 			gpio_c: gpioc { | ||||||
| 				compatible = "intel,ich6-gpio"; | 				compatible = "intel,ich6-gpio"; | ||||||
| 				u-boot,dm-pre-reloc; | 				u-boot,dm-pre-reloc; | ||||||
|  | 				#gpio-cells = <2>; | ||||||
|  | 				gpio-controller; | ||||||
| 				reg = <0x40 0x10>; | 				reg = <0x40 0x10>; | ||||||
| 				bank-name = "C"; | 				bank-name = "C"; | ||||||
| 			}; | 			}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user